Skip to content

Commit

Permalink
Add npm scripts for version control
Browse files Browse the repository at this point in the history
  • Loading branch information
steveukx committed Jun 17, 2019
1 parent 8cfdb3a commit 6073578
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
"src/**/*.js"
],
"scripts": {
"preversion": "npm test",
"postversion": "npm publish && git push && git push --tags",
"test": "mocha ./test/*.spec.js"
},
"engines": {
Expand Down

0 comments on commit 6073578

Please sign in to comment.