Skip to content

Commit

Permalink
auto-publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 14, 2019
1 parent 4c37e04 commit 9dc0235
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"description": "Used in npm for command line application support",
"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 9dc0235

Please sign in to comment.