Skip to content

Commit 9f668ac

Browse files
committed
build: add prepublishOnly hook
1 parent aa101bf commit 9f668ac

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
@@ -19,11 +19,12 @@
1919
],
2020
"scripts": {
2121
"prepare": "husky install",
22+
"prepublishOnly": "npm run build",
2223
"antlr4": "node ./scripts/antlr4.js",
2324
"build": "rm -rf dist && tsc",
2425
"check-types": "tsc -p ./tsconfig.check.json",
2526
"test": "NODE_OPTIONS=--max_old_space_size=4096 && jest",
26-
"release": "npm run build && node ./scripts/release.js",
27+
"release": "node ./scripts/release.js",
2728
"lint": "prettier --check '**/*.ts' --config ./.prettierrc",
2829
"lint-fix": "prettier --write '**/*.ts' --config ./.prettierrc"
2930
},

0 commit comments

Comments
 (0)