Skip to content

Commit 758d1bf

Browse files
committed
Update release scripts
1 parent da3d244 commit 758d1bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"lint:eslint": "eslint . --ext .ts",
2222
"lint:prettier": "prettier --check .",
2323
"fix:prettier": "prettier --write .",
24-
"prepublishOnly": "npm build"
24+
"prepublishOnly": "npm run build",
25+
"preversion": "npm run build",
26+
"postversion": "git push && git push --tags"
2527
},
2628
"prettier": {
2729
"printWidth": 100,

0 commit comments

Comments
 (0)