Skip to content

Commit

Permalink
build(package): use prepublish instead of prepare, close #31
Browse files Browse the repository at this point in the history
  • Loading branch information
weirongxu committed Nov 4, 2019
1 parent 8616225 commit 2221a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
"clean": "rimraf lib",
"build": "webpack --mode production",
"dev": "webpack --mode development --watch",
"prepare": "yarn run clean && yarn run build",
"prepublish": "yarn run clean && yarn run build",
"lint": "tslint -p .",
"gen:doc": "ts-node ./scripts/gen_doc.ts",
"test": "yarn run lint && jest --runInBand --detectOpenHandles --forceExit"
Expand Down

0 comments on commit 2221a5b

Please sign in to comment.