Skip to content

Commit 4a18222

Browse files
committed
chore(npm): update script for release
1 parent 7aa619b commit 4a18222

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"license": "MIT",
99
"scripts": {
1010
"build": "rm -rf dist && webpack",
11-
"preversion": "npm run build && git add dist",
12-
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
11+
"prepareRelease": "npm run build && git add dist",
12+
"createChangelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
13+
"version": "npm run prepareRelease && npm run createChangelog",
1314
"precommit": "yarn lint && yarn test",
1415
"commitmsg": "commitlint -e $GIT_PARAMS",
1516
"test": "jest",

0 commit comments

Comments
 (0)