Skip to content

Commit

Permalink
Add npm postpublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarni committed Sep 22, 2016
1 parent e981587 commit 63c71c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"test:nsp": "nsp check",
"test": "npm run lint && npm run test:nsp",
"has-published": "npm show . versions -s | grep -q ${npm_package_version}",
"preversion": "npm run lint"
"preversion": "npm run lint",
"postpublish": "git tag ${npm_package_version} && git push --tags"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 63c71c0

Please sign in to comment.