Skip to content

Commit a0a206d

Browse files
committed
husky only on dev
1 parent 145eef5 commit a0a206d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"____pack____": "PACKAGING COMMANDS__",
3030
"swc:sim:pack": "npm run build",
3131
"vite:dist": "npm run build:js && vite build && npm run copy:root-files:dist",
32-
"prepare": "husky",
32+
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production' && !process.env.CI) require('husky').install()\"",
3333
"precommit": "lint-staged",
3434
"prepush": "npm run build && npm test",
3535
"stryker": "npm i -g @stryker-mutator/core @stryker-mutator/jest-runner && stryker run"

0 commit comments

Comments
 (0)