Skip to content

Commit 1e6f5b2

Browse files
committed
add npm pre/post version scripts
1 parent c707af4 commit 1e6f5b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
"build:dts": "dts-bundle-generator -o dist/codeboost.d.ts src/lib/CodeBoost.ts",
5757
"build": "npm run build:cli && npm run build:lib && npm run build:dts",
5858
"dev": "npm run build:cli && node dist/cli.js",
59+
"preversion": "npm run test",
60+
"postversion": "npm run build",
5961
"prepare": "husky install"
6062
},
6163
"dependencies": {

0 commit comments

Comments
 (0)