chore(config): add release script to package.json
This commit is contained in:
@@ -12,6 +12,9 @@
|
|||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"author": "Hyko",
|
"author": "Hyko",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"release": "npm version patch --no-git-tag-version && npm i && git add package.json package-lock.json && git commit -m \"chore: bump version to $(node -p \"require('./package.json').version\")\" && git push && npm publish"
|
||||||
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"zen-start": "./bin/cli.js"
|
"zen-start": "./bin/cli.js"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user