From 89729dd24df7d335239077c41d61a2e0b3ced30f Mon Sep 17 00:00:00 2001 From: Jarreddebeer Date: Thu, 28 Nov 2013 18:40:08 +0200 Subject: [PATCH] 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! --- package.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 00000000..b708761e --- /dev/null +++ b/package.json @@ -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 } + } +}