Browse Source

Add bower.json file; Update package.json

nghuuphuoc 11 years ago
parent
commit
b8bedb237e
3 changed files with 50 additions and 31 deletions
  1. 1 0
      CHANGELOG.md
  2. 21 16
      bower.json
  3. 28 15
      package.json

+ 1 - 0
CHANGELOG.md

@@ -9,6 +9,7 @@ __New features__:
 * [#4: Add ```date``` validator](https://github.com/nghuuphuoc/bootstrapvalidator/issues/4)
 * [#72, #79: Add ```setNotValidated()``` method to make the plugin play well with another](https://github.com/nghuuphuoc/bootstrapvalidator/issues/72)
 * [#80: Add ```enableFieldValidators()``` method to enable/disable all validators to given field](https://github.com/nghuuphuoc/bootstrapvalidator/issues/80)
+* Add ```bower.json``` file
 
 __Fixes__:
 

+ 21 - 16
bower.json

@@ -1,18 +1,23 @@
 {
-  "name": "bootstrapValidator",
-  "homepage": "https://github.com/nghuuphuoc/bootstrapvalidator",
-  "version": "0.3.0",
-  "main": [
-    "./dist/js/bootstrapValidator.js"
-  ],
-  "_release": "0.3.0",
-  "_resolution": {
-    "type": "version",
-    "tag": "v0.3.0",
-    "commit": "8419c8126d83b01271d3ad9c6d913adaf17c893e"
-  },
-  "_source": "git://github.com/nghuuphuoc/bootstrapvalidator.git",
-  "_target": "~0.3.0",
-  "_originalSource": "bootstrapValidator",
-  "_direct": true
+    "name": "bootstrapValidator",
+    "description": "A jQuery plugin to validate form fields. Use with Bootstrap 3",
+    "version": "0.3.0",
+    "main": [
+        "dist/css/bootstrapValidator.css",
+        "dist/js/bootstrapValidator.js"
+    ],
+    "license": "MIT",
+    "keywords": ["jQuery", "plugin", "validator", "Bootstrap"],
+    "authors": [
+        { "name": "Nguyen Huu Phuoc", "email": "phuoc@huuphuoc.me"," homepage": "https://twitter.com/nghuuphuoc" }
+    ],
+    "homepage": "https://github.com/nghuuphuoc/bootstrapvalidator",
+    "repository": {
+        "type": "git",
+        "url": "https://github.com/nghuuphuoc/bootstrapvalidator.git"
+    },
+    "dependencies": {
+        "jquery": ">= 1.9.0",
+        "bootstrap": ">= 3.0.0"
+    }
 }

+ 28 - 15
package.json

@@ -1,17 +1,30 @@
 {
-  "name": "bootstrapValidator",
-  "author": {
-    "name": "Nguyen Huu Phuoc <phuoc@huuphuoc.me>",
-    "url": "https://twitter.com/nghuuphuoc"
-  },
-  "homepage": "http://github.com/nghuuphuoc/bootstrapvalidator",
-  "devDependencies": {
-    "grunt": "~0.4.2",
-    "grunt-contrib-concat": "~0.3.0",
-    "grunt-contrib-copy": "~0.5.0",
-    "grunt-contrib-cssmin": "~0.9.0",
-    "grunt-contrib-uglify": "~0.4.0",
-    "grunt-contrib-watch": "~0.5.3"
-  },
-  "version": "0.3.1-dev"
+    "name": "bootstrapValidator",
+    "version": "0.3.1-dev",
+    "description": "A jQuery plugin to validate form fields. Use with Bootstrap 3",
+    "keywords": ["jQuery", "plugin", "validator", "Bootstrap"],
+    "author": {
+        "name": "Nguyen Huu Phuoc",
+        "email": "phuoc@huuphuoc.me",
+        "url": "https://twitter.com/nghuuphuoc"
+    },
+    "homepage": "https://github.com/nghuuphuoc/bootstrapvalidator",
+    "bugs": {
+        "url": "https://github.com/nghuuphuoc/bootstrapvalidator/issues",
+        "email": "phuoc@huuphuoc.me"
+    },
+    "license": "MIT",
+    "main": "./dist/js/bootstrapValidator.js",
+    "repository": {
+        "type": "git",
+        "url": "https://github.com/nghuuphuoc/bootstrapvalidator.git"
+    },
+    "devDependencies": {
+        "grunt": "~0.4.2",
+        "grunt-contrib-concat": "~0.3.0",
+        "grunt-contrib-copy": "~0.5.0",
+        "grunt-contrib-cssmin": "~0.9.0",
+        "grunt-contrib-uglify": "~0.4.0",
+        "grunt-contrib-watch": "~0.5.3"
+    }
 }