Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 6dc1138

Browse files
committed
update npm-scripts
1 parent 3718f92 commit 6dc1138

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
@@ -24,7 +24,9 @@
2424
"lint:types": "tsc --noEmit",
2525
"test": "jest",
2626
"test:watch": "jest --watch",
27-
"test:coverage": "jest --coverage"
27+
"test:coverage": "jest --coverage",
28+
"postversion": "git push && git push origin v$npm_package_version",
29+
"prepublishOnly": "npm run lint && npm run lint:types && npm test && npm run build"
2830
},
2931
"keywords": [
3032
"react",

0 commit comments

Comments
 (0)