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