Skip to content

Commit 89729dd

Browse files
committed
Create package.json
There may be some benefits to having a package.json, but the primary reason i'm interested in submitting this is for the jspm override entry, with it we can include select2 as simply as: http://jsbin.com/upOtaXIR/2/edit Any questions please shout!
1 parent 0967c67 commit 89729dd

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name" : "Select2",
3+
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
4+
"homepage": "http://ivaynberg.github.io/select2",
5+
"author": "Igor Vaynberg",
6+
"repository": {"type": "git", "url": "git://github.com/documentcloud/underscore.git"},
7+
"main": "select2.js",
8+
"version": "3.4.5",
9+
"jspm": {
10+
"main": "select2",
11+
"files": ["select2.js", "select2.png", "select2.css", "select2-spinner.gif"],
12+
"shim": {
13+
"select2": {
14+
"imports": ["jquery", "./select2.css!"],
15+
"exports": "$"
16+
}
17+
},
18+
"buildConfig": { "uglify": true }
19+
}
20+
}

0 commit comments

Comments
 (0)