diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100755 index 0000000..da99483 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1 @@ +npx --no -- commitlint --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..3867a0f --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npm run lint diff --git a/package.json b/package.json index dcf423c..2ecbb28 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui", "test:perf": "k6 run tests/performance/k6/load.js", - "test:lighthouse": "lhci autorun --config tests/performance/lighthouserc.js" + "test:lighthouse": "lhci autorun --config tests/performance/lighthouserc.js", + "prepare": "husky" }, "dependencies": { "framer-motion": "^12.34.1",