Release management
This commit is contained in:
parent
bab8714b05
commit
e1b5303384
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@
|
||||||
"test": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; `npm bin`/jest `ifNotCi --watchAll`",
|
"test": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; `npm bin`/jest `ifNotCi --watchAll`",
|
||||||
"link": "npm install --no-save file:///$PWD/",
|
"link": "npm install --no-save file:///$PWD/",
|
||||||
"build": "rimraf ./dist && tsc",
|
"build": "rimraf ./dist && tsc",
|
||||||
"prepublishOnly": "npm run lint && npm run build"
|
"prepublishOnly": "npm run lint && npm run build",
|
||||||
|
"release": "release() { test \"$1\" && npm version $1 && npm publish && git push origin develop && git push origin --tags; }; release"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"homebridge-plugin",
|
"homebridge-plugin",
|
||||||
|
|
Loading…
Reference in a new issue