chore(ci): configure husky git hooks for commitlint
This commit is contained in:
1
.husky/commit-msg
Executable file
1
.husky/commit-msg
Executable file
@@ -0,0 +1 @@
|
|||||||
|
npx --no -- commitlint --edit "$1"
|
||||||
1
.husky/pre-commit
Executable file
1
.husky/pre-commit
Executable file
@@ -0,0 +1 @@
|
|||||||
|
npm run lint
|
||||||
@@ -15,7 +15,8 @@
|
|||||||
"test:e2e": "playwright test",
|
"test:e2e": "playwright test",
|
||||||
"test:e2e:ui": "playwright test --ui",
|
"test:e2e:ui": "playwright test --ui",
|
||||||
"test:perf": "k6 run tests/performance/k6/load.js",
|
"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": {
|
"dependencies": {
|
||||||
"framer-motion": "^12.34.1",
|
"framer-motion": "^12.34.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user