diff --git a/package.json b/package.json index 62e737ab..74f43e5f 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "assert-unit-coverage": "cross-env COVERAGE=1 mocha --config mocha-config/coverage-tests.js", "funit": "cross-env PUPPETEER_PRODUCT=firefox npm run unit", "test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser", - "prepare": "node typescript-if-required.js && husky install", + "prepare": "node typescript-if-required.js && ([[ $HUSKY = 0 ]] || husky install)", "prepublishOnly": "npm run build", "dev-install": "npm run tsc && node install.js", "install": "node install.js",