From 1c9bd0825e2341701ff3a0271e1f07f1cbe49fc1 Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 18 Apr 2024 00:33:17 +0100 Subject: [PATCH] chore: add prepare script for husky --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0bfe6e6..c772417 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "postinstall": "node scripts/postinstall", "start": "node .", "studio": "npx prisma studio", - "test": "node scripts/check-i18n" + "test": "node scripts/check-i18n", + "prepare": "husky install" }, "commitlint": { "extends": [ @@ -82,7 +83,7 @@ "conventional-changelog-cli": "^2.2.2", "eslint": "^8.57.0", "eslint-plugin-unused-imports": "^2.0.0", - "husky": "^8.0.3", + "husky": "^8.0.0", "lint-staged": "^13.3.0", "markdown-table": "^3.0.3", "nodemon": "^2.0.22"