diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e8..37236231 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint-staged diff --git a/package.json b/package.json index a34c56ef..0975e8f3 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "postinstall": "husky install", "e2e": "cypress run", "get-random-id": "echo $RANDOM | md5 | head -c 15; echo;", - "get-thumbnail": "node ./scripts/getThumbnail.js" + "get-thumbnail": "node ./scripts/getThumbnail.js", + "prepare": "husky" }, "devDependencies": { "@sveltejs/adapter-vercel": "5.1.0",