diff --git a/.husky/commit-msg b/.husky/commit-msg index 1a089f4..d468455 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 c613291..4c260d1 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 fa041af..d6a1966 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "lint:licenses": "node scripts/license-checker.js", "lint:prettier": "prettier . -c -u", "lint:prettier:fix": "prettier . -w -u", - "prepare": "husky install", + "prepare": "husky", "test": "npm run lint && npm run lint:prettier && npm run jest" }, "commitlint": {