From d0d323954bcdf7e2167e8f3a55665b60d9bd1716 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Thu, 23 Oct 2025 13:10:03 +0700 Subject: [PATCH] feat: install husky --- package-lock.json | 17 +++++++++++++++++ package.json | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 1aa69d33..a39060ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,6 +35,7 @@ "daisyui": "^5.1.12", "eslint": "^9", "eslint-config-next": "15.5.3", + "husky": "^9.1.7", "tailwindcss": "^4", "typescript": "^5" } @@ -4176,6 +4177,22 @@ "react-is": "^16.7.0" } }, + "node_modules/husky": { + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", + "dev": true, + "license": "MIT", + "bin": { + "husky": "bin.js" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", diff --git a/package.json b/package.json index 8adf6787..e970499c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "dev": "eslint && next dev --turbopack", "build": "next build --turbopack", "start": "next start", - "lint": "eslint" + "lint": "eslint", + "prepare": "husky" }, "dependencies": { "@tanstack/match-sorter-utils": "^8.19.4", @@ -36,6 +37,7 @@ "daisyui": "^5.1.12", "eslint": "^9", "eslint-config-next": "15.5.3", + "husky": "^9.1.7", "tailwindcss": "^4", "typescript": "^5" }