Add release scripts

This commit is contained in:
IagoLast 2018-05-10 16:01:15 +02:00
parent 7e39eb3d68
commit 85009c34cd

View File

@ -57,7 +57,11 @@
"scripts": { "scripts": {
"test": "gulp", "test": "gulp",
"before-deploy": "gulp && gulp compress", "before-deploy": "gulp && gulp compress",
"release": "rm -rf dist && gulp && npm publish" "release": "rm -rf dist && gulp && npm publish",
"bump": "npm version patch",
"bump:major": "npm version major",
"bump:minor": "npm version minor",
"postversion": "git push origin master --follow-tags"
}, },
"license": "MIT" "license": "MIT"
} }