ソースを参照

updating package.json/bower.json to better fit bower package recommandation

- bower.json was added
- package.json was cleaned up (removed unnecessary properties, adding required ones
- package.json validated by http://package-json-validator.com

note: re-packaging was done by following twitter/bootstrap packaging.
= 11 年 前
コミット
9f0f02b49e
2 ファイル変更38 行追加22 行削除
  1. 17 0
      bower.json
  2. 21 22
      package.json

+ 17 - 0
bower.json

@@ -0,0 +1,17 @@
+{
+    "name": "jquery.nicescroll",
+    "version": "3.5.4",
+    "main": [
+        "./jquery.nicescroll.js",
+        "./jquery.nicescroll.min.js",
+        "./zoomico.png"
+    ],
+    "ignore": [
+        "**/.*",
+        "demo",
+        "package.json"
+    ],
+    "dependencies": {
+        "jquery": ">=1.4.3"
+    }
+}

+ 21 - 22
package.json

@@ -1,21 +1,7 @@
 {
-    "name": "nicescroll",
-    "version": "3.5.4",
-    "title": "jQuery.NiceScroll",
-    "author": {
-        "name": "InuYaksa",
-        "url": "https://github.com/inuyaksa"
-    },
-    "licenses": [
-        {
-            "type": "MIT",
-            "url": "MIT.LICENSE"
-        }
-    ],
-    "dependencies": {
-        "jquery": ">=1.4.3"
-    },
+    "name": "jquery.nicescroll",
     "description": "Nicescroll is a jquery plugin, for nice customizabled scrollbars with a very similar ios/mobile style. It supports DIVs, IFrames and document page (body) scrollbars. Compatible with Firefox 4+, Chrome 5+, Safari 4+ (win/mac), Opera 10+, IE 6+ (all A-grade browsers). Compatible with iOS devices as iPad, Android, Blackberry, Windows Phone, and many many mobile and touch devices.",
+    "version": "3.5.4",
     "keywords": [
         "nicescroll",
         "jquery",
@@ -32,18 +18,31 @@
         "android"
     ],
     "homepage": "https://github.com/inuyaksa/jquery.nicescroll",
-		"contributors": [
+    "author": {
+        "name": "InuYaksa",
+        "url": "https://github.com/inuyaksa"
+    },
+    "contributors": [
         "inuyaksa",
         "GianlucaGuarini",
         "nkovacs",
         "zcourts",
         "philleepflorence",
         "gustavnikolaj",
-        "laychopy"
+        "laychopy",
+        "barraq"
     ],
-    "files": [
-        "jquery.nicescroll.js",
-        "jquery.nicescroll.min.js",
-        "zoomico.png"
+    "repository": {
+        "type": "git",
+        "url": "https://github.com/inuyaksa/jquery.nicescroll.git"
+    },
+    "bugs": {
+        "url": "https://github.com/inuyaksa/jquery.nicescroll/issues"
+    },
+    "licenses": [
+        {
+            "type": "MIT",
+            "url": "https://github.com/inuyaksa/jquery.nicescroll/blob/master/MIT.LICENSE"
+        }
     ]
 }