Skip to content

Commit

Permalink
auto-publishing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Mar 26, 2019
1 parent bed01e2 commit 604e73d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"description": "The semantic version parser used by npm.",
"main": "semver.js",
"scripts": {
"test": "tap"
"test": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"postpublish": "git push origin --all; git push origin --tags"
},
"devDependencies": {
"tap": "^13.0.0-rc.18"
Expand All @@ -21,6 +24,5 @@
],
"tap": {
"check-coverage": true
},
"dependencies": {}
}
}

0 comments on commit 604e73d

Please sign in to comment.