1
0
Fork 0

wrench: Added npm version scripts

This commit is contained in:
joostdecock 2018-07-26 12:30:18 +00:00 committed by Joost De Cock
parent 78e018a163
commit aa9e36e099

View file

@ -21,6 +21,9 @@
"unpkg": "dist/browser.js", "unpkg": "dist/browser.js",
"browser": "dist/browser.js", "browser": "dist/browser.js",
"scripts": { "scripts": {
"patch": "npm version patch -m \":bookmark: v%s\" && npm run build",
"minor": "npm version minor -m \":bookmark: v%s\" && npm run build",
"major": "npm version major -m \":bookmark: v%s\" && npm run build",
"precommit": "npm run pretty && lint-staged", "precommit": "npm run pretty && lint-staged",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"clean": "rimraf dist", "clean": "rimraf dist",