Skip to content

Commit 3f7572b

Browse files
committed
push to git before publishing to npm
1 parent 24d475d commit 3f7572b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"preversion": "npm t",
1111
"postversion": "npm publish",
12-
"postpublish": "git push --follow-tags",
12+
"prepublishOnly": "git push --follow-tags",
1313
"test": "tap",
1414
"snap": "tap"
1515
},

0 commit comments

Comments
 (0)