Skip to content

Commit d1c9fe0

Browse files
committed
solve issue related to npm deprecated scripts
1 parent fd82ebd commit d1c9fe0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
"karma": "karma start --single-run",
1010
"autoformat": "prettier --config .prettierrc --write {src,test}/**/{*,*.test}.ts",
1111
"tslint-check": "tslint-config-prettier-check ./tslint.json",
12-
"prepublish": "tsc -d && publish-please guard",
13-
"clean-up": "rm -rf coverage && rm -rf lib",
14-
"publish-please": "npm run autoformat && npm run clean-up && npm run build && publish-please",
15-
"build": "webpack --env.production"
12+
"clean-up": "rm -rf .nyc_output && rm -rf coverage && rm -rf lib",
13+
"build": "webpack --env.production",
14+
"prepare": "npm run clean-up && tsc -d",
15+
"prepublishOnly": "publish-please guard",
16+
"publish-please": "npm run autoformat && npm run clean-up && npm run build && publish-please"
1617
},
1718
"nyc": {
1819
"include": [

0 commit comments

Comments
 (0)