From 874d1f755ecc98d98c8d55dd09648cdf7b079765 Mon Sep 17 00:00:00 2001 From: Paul Jensen Date: Sat, 11 Jan 2025 18:37:26 +0000 Subject: [PATCH] More husky configuration --- .gitignore | 2 ++ package.json | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 356a160..3ce94ad 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,5 @@ typings/ # next.js build output .next + +.husky \ No newline at end of file diff --git a/package.json b/package.json index bf442db..ce9cdce 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,8 @@ "publish-patch-release": "npm run prepare-patch-release && git push origin master && git push --tags", "test": "jest --coverage", "update-changelog": "npx ts-node scripts/update-changelog.ts", - "watch": "tsc --project tsconfig.json --watch" + "watch": "tsc --project tsconfig.json --watch", + "prepare": "husky" }, "repository": { "type": "git", @@ -72,5 +73,5 @@ "hooks": { "pre-commit": "npm run build && npm run prettier && git add . && npm t" } - }, + } }