Browse Source

Merge pull request #341 from barraq/master

updating package.json/bower.json to better fit bower recommandation
Inuyaksa 10 năm trước cách đây
mục cha
commit
0eb8ec36d2
2 tập tin đã thay đổi với 37 bổ sung22 xóa
  1. 16 0
      bower.json
  2. 21 22
      package.json

+ 16 - 0
bower.json

@@ -0,0 +1,16 @@
+{
+    "name": "jquery.nicescroll",
+    "version": "3.5.4",
+    "main": [
+        "./jquery.nicescroll.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"
+        }
     ]
 }