Skip to content

Commit 89586f3

Browse files
committed
postversion hook
1 parent b6498b2 commit 89586f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "src/index.js",
66
"types": "src/index.d.ts",
77
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
8+
"test": "echo \"Error: no test specified\" && exit 1",
9+
"postversion": "git push && git push --tags && npm publish"
910
},
1011
"repository": {
1112
"type": "git",

0 commit comments

Comments
 (0)