Skip to content

Commit

Permalink
chore: package.json中添加prebuild和prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLLLLH committed Dec 16, 2020
1 parent 0f165ae commit 39cba7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
"watch": "concurrently --kill-others \"npm:watch-*\"",
"watch-types": "tsc -w -p ./tsconfig.typing.json",
"watch-bundle": "rollup -c -w",
"prebuild": "yarn run clean",
"build": "tsc -p ./tsconfig.typing.json && rollup -c",
"lint": "eslint src --fix --ext .ts,.tsx",
"release": "HUSKY_SKIP_HOOKS=1 standard-version",
"release:alpha": "HUSKY_SKIP_HOOKS=1 standard-version --prerelease alpha",
"release:rc": "HUSKY_SKIP_HOOKS=1 standard-version --prerelease rc"
"release:rc": "HUSKY_SKIP_HOOKS=1 standard-version --prerelease rc",
"prepublish": "yarn run build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 39cba7f

Please sign in to comment.