diff --git a/.husky/commit-msg b/.husky/commit-msg index 1a089f45..d468455f 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx --no-install commitlint --edit $1 +npx --no-install commitlint --edit $1 \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index c613291a..4c260d1c 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npm run lint:licenses && npm test +npm run lint:licenses && npm test \ No newline at end of file diff --git a/package.json b/package.json index cd580d84..a9be4393 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "lint:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -s -i", "lint:prettier": "prettier . -c -u", "lint:prettier:fix": "prettier . -w -u", - "prepare": "husky install && npx playwright install firefox --with-deps", + "prepare": "husky && npx playwright install firefox --with-deps", "start": "node .", "start:dev": "nodemon src/app.js | pino-pretty", "test": "npm run lint && npm run lint:prettier && npm run jest"