Add release scripts
This commit is contained in:
parent
7e39eb3d68
commit
85009c34cd
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user