Skip to content

Commit c783267

Browse files
committed
build: add a postversion script to improve npm version
1 parent 1fe574e commit c783267

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"storybook:info": "storybook info --disable-telemetry",
2626
"DISABLEDprestorybook:build": "npm run test:ci",
2727
"version": "rimraf CHANGELOG.md RELEASENOTE.md && standard-changelog -r 1 -o RELEASENOTE.md && standard-changelog -f && git add CHANGELOG.md RELEASENOTE.md",
28+
"postversion": "git push && git push --tags && npm run clean",
2829
"bl": "npx browserslist",
2930
"update-dependencies": "npx npm-check --dev-only --update"
3031
},

0 commit comments

Comments
 (0)