]> source.dussan.org Git - svg.js.git/commitdiff
use 'npm version' instead of setting versions manually
authordotnetCarpenter <jon.ronnenberg@gmail.com>
Wed, 12 Oct 2016 12:16:25 +0000 (10:16 -0200)
committerdotnetCarpenter <jon.ronnenberg@gmail.com>
Wed, 12 Oct 2016 12:18:03 +0000 (10:18 -0200)
bower.json
package.json

index 8d950bed6dd6a33eef5ca562315bafdfa03f52fc..87d3d7c6f0a6be6245976d3bc0242b8759b6ef95 100644 (file)
@@ -1,6 +1,5 @@
 {
   "name": "svg.js",
-  "version":"2.3.4",
   "homepage": "http://svgjs.com/",
   "authors": [
     "Wout Fierens <wout@woutfierens.com>"
index bfc3052fd1abf39421d6cf8d71fddbfad4055282..47355689be1459570de1b38e68b6db21fd09ba74 100644 (file)
@@ -50,7 +50,8 @@
   "typings": "./svg.js.d.ts",
   "scripts": {
     "build": "gulp",
-    "test": "karma start .config/karma.conf.js --single-run"
+    "test": "karma start .config/karma.conf.js --single-run",
+    "version": "npm run build && git add -A dist"
   },
   "devDependencies": {
     "del": "^2.2.0",