1
0
mirror of synced 2024-11-22 13:06:08 +03:00

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!
This commit is contained in:
Jarreddebeer 2013-11-28 18:40:08 +02:00
parent 0967c67776
commit 89729dd24d

20
package.json Normal file
View File

@ -0,0 +1,20 @@
{
"name" : "Select2",
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
"homepage": "http://ivaynberg.github.io/select2",
"author": "Igor Vaynberg",
"repository": {"type": "git", "url": "git://github.com/documentcloud/underscore.git"},
"main": "select2.js",
"version": "3.4.5",
"jspm": {
"main": "select2",
"files": ["select2.js", "select2.png", "select2.css", "select2-spinner.gif"],
"shim": {
"select2": {
"imports": ["jquery", "./select2.css!"],
"exports": "$"
}
},
"buildConfig": { "uglify": true }
}
}