Skip to content

Commit 93658c5

Browse files
authored
Add postpublish npm script
1 parent 05b042a commit 93658c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"preversion": "npm test",
8+
"postpublish": "git push --tags && git push",
89
"test": "mocha test.js --reporter spec",
910
"release:pre": "npm version prerelease && npm publish --tag=pre",
1011
"release:patch": "npm version patch && npm publish",

0 commit comments

Comments
 (0)