Skip to content

Commit

Permalink
chore: standardize postrelease script (screpto)
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Oct 11, 2019
1 parent 4c89a42 commit 13cf510
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,15 @@
"lint": "eslint .",
"test": "jest --env node --coverage",
"prerelease": "npm t && npm run lint",
"release": "standard-version"
"release": "standard-version",
"postrelease": "git push --follow-tags origin master && npm publish"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"standard-version": {
"scripts": {
"posttag": "git push --follow-tags origin master"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
Expand Down

0 comments on commit 13cf510

Please sign in to comment.