Skip to content

Commit

Permalink
Remove unnecessary steps from the npm version/publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chasenlehara committed Jul 25, 2017
1 parent db581a1 commit fcbd173
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"main": "lib/",
"scripts": {
"preversion": "npm test",
"version": "git commit -am \"Update package for release\" && git checkout -b release",
"postversion": "git push --tags && git checkout master && git branch -D release && git push",
"publish": "git push origin --tags && git push origin",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
Expand Down

0 comments on commit fcbd173

Please sign in to comment.