Skip to content

Commit 5d0c852

Browse files
committed
chore: standardize postrelease script (screpto)
1 parent aa7f227 commit 5d0c852

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,15 @@
2727
"lint": "eslint .",
2828
"test": "jest --env node --coverage",
2929
"prerelease": "npm t && npm run lint",
30-
"release": "standard-version"
30+
"release": "standard-version",
31+
"postrelease": "git push --follow-tags origin master && npm publish"
3132
},
3233
"husky": {
3334
"hooks": {
3435
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
3536
"pre-commit": "lint-staged"
3637
}
3738
},
38-
"standard-version": {
39-
"scripts": {
40-
"posttag": "git push --follow-tags origin master"
41-
}
42-
},
4339
"lint-staged": {
4440
"*.js": [
4541
"eslint --fix",

0 commit comments

Comments
 (0)