Clean build on release
This commit is contained in:
parent
9127408d23
commit
2e8f2d0579
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
"start": "npm run build && npm run link && nodemon",
|
"start": "npm run build && npm run link && nodemon",
|
||||||
"test": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; npm run code-generation && `npm bin`/jest `ifNotCi --watchAll`",
|
"test": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; npm run code-generation && `npm bin`/jest `ifNotCi --watchAll`",
|
||||||
"link": "npm install --no-save file:///$PWD/",
|
"link": "npm install --no-save file:///$PWD/",
|
||||||
"build": "rimraf ./dist && npm run code-generation && tsc",
|
"build": "rimraf ./dist .tsbuildinfo && npm run code-generation && tsc",
|
||||||
"code-generation": "./code-generation/hap-gen.js && ./code-generation/config-scheme-gen.js",
|
"code-generation": "./code-generation/hap-gen.js && ./code-generation/config-scheme-gen.js",
|
||||||
"prepublishOnly": "npm run code-generation && npm run lint && npm run build",
|
"prepublishOnly": "npm run code-generation && npm run lint && npm run build",
|
||||||
"release": "release-it --only-version"
|
"release": "release-it --only-version"
|
||||||
|
|
Loading…
Reference in a new issue