chore: allow to skip the installation of Husky in the prepare step (#8325)

This commit is contained in:
Henrik Skupin 2022-05-09 10:15:20 +02:00 committed by GitHub
parent 82f84c9618
commit b27f6590cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",