diff --git a/.husky/pre-commit b/.husky/pre-commit index cf0c46b..041c660 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no-install lint-staged diff --git a/package.json b/package.json index ce758e4..dc71eb5 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "funding": "https://jaywcjlove.github.io/#/sponsor", "private": false, "scripts": { - "prepare": "husky install", + "prepare": "husky", "build": "refs-cli", "start": "refs-cli --watch", "prettier": "prettier --write '**/*.{mjs,css,json,prettierrc,lintstagedrc}'",