From c941498b540a5bea7c92cd2a63998de3002a41b7 Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Mon, 9 May 2022 09:24:46 +0200 Subject: [PATCH] chore: allow to skip the installation of Husky in the prepare step --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 62e737ab09690..74f43e5f5c7d5 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",