Skip to content

Commit 97734e6

Browse files
committedOct 11, 2019
chore: standardize postrelease script (screpto)
1 parent b52e035 commit 97734e6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
 

‎package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,15 @@
2626
"lint": "eslint . --ignore-pattern test/fixtures",
2727
"test": "jest --env node --coverage",
2828
"prerelease": "npm t && npm run lint",
29-
"release": "standard-version"
29+
"release": "standard-version",
30+
"postrelease": "git push --follow-tags origin master && npm publish"
3031
},
3132
"husky": {
3233
"hooks": {
3334
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
3435
"pre-commit": "lint-staged"
3536
}
3637
},
37-
"standard-version": {
38-
"scripts": {
39-
"posttag": "git push --follow-tags origin master"
40-
}
41-
},
4238
"lint-staged": {
4339
"*.js": [
4440
"eslint --fix --ignore-pattern test/fixtures",

0 commit comments

Comments
 (0)
Please sign in to comment.