Skip to content

Commit

Permalink
add pre- and postversion scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hilleer committed Jul 4, 2019
1 parent 3783b5f commit fb07639
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "index.js",
"scripts": {
"test": "istanbul cover _mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls"
"coveralls": "cat ./coverage/lcov.info | coveralls",
"preversion": "npm test",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit fb07639

Please sign in to comment.