Bläddra i källkod

Added Travis CI badge and fixed package.json

Kevin Brown 10 år sedan
förälder
incheckning
05d8407b05
2 ändrade filer med 15 tillägg och 2 borttagningar
  1. 4 0
      README.md
  2. 11 2
      package.json

+ 4 - 0
README.md

@@ -1,6 +1,8 @@
 Select2
 =======
 
+[![Build Status][travis-ci-image]][travis-ci-status]
+
 Select2 is a jQuery-based replacement for select boxes. It supports searching,
 remote data sets, and pagination of results.
 
@@ -116,6 +118,8 @@ The license is available within the repository in the [LICENSE][license] file.
 [select2-rails]: https://github.com/argerim/select2-rails
 [symfony-select2]: https://github.com/19Gerhard85/sfSelect2WidgetsPlugin
 [symfony2-select2]: https://github.com/avocode/FormExtensions
+[travis-ci-image]: https://travis-ci.org/select2/select2.svg?branch=select2-ng
+[travis-ci-status]: https://travis-ci.org/select2/select2
 [wicket]: http://wicket.apache.org
 [wicket-select2]: https://github.com/ivaynberg/wicket-select2
 [yii-select2]: https://github.com/tonybolzan/yii-select2

+ 11 - 2
package.json

@@ -2,7 +2,16 @@
   "name": "Select2",
   "description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
   "homepage": "https://select2.github.io",
-  "author": "Igor Vaynberg",
+  "author": {
+    "name": "Kevin Brown",
+    "url": "https://github.com/kevin-brown"
+  },
+  "contributors": [
+    {
+      "name": "Igor Vaynberg",
+      "url": "https://github.com/ivaynberg"
+    }
+  ],
   "repository": {
     "type": "git",
     "url": "git://github.com/select2/select2.git"
@@ -26,7 +35,7 @@
     "main": "js/select2",
     "directories": {
       "lib": "dist"
-    },
+    }
   },
   "devDependencies": {
     "grunt": "^0.4.5",