Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
auto-publish on version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 26, 2019
1 parent 4231410 commit 0515c80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -19,7 +19,10 @@
},
"scripts": {
"test": "tap test/*.js --100",
"snap": "TAP_SNAPSHOT=1 tap test/*.js --100"
"snap": "TAP_SNAPSHOT=1 tap test/*.js --100",
"preversion": "npm test",
"postversion": "npm publish",
"postpublish": "git push origin --follow-tags"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 0515c80

Please sign in to comment.