Add husky pre commit hook

This commit is contained in:
Jon Staab
2025-05-06 10:47:45 -07:00
parent c0ead72162
commit b368efab47
4 changed files with 30 additions and 16 deletions
+3 -2
View File
@@ -7,11 +7,11 @@
"scripts": {
"clean": "pnpm run -r clean",
"build": "pnpm run -r build",
"link": "for p in $(ls packages); do cd packages/$p; pnpm link --global; cd ../..; done",
"format": "eslint --fix .",
"lint": "eslint .",
"test": "vitest",
"docs": "typedoc && vitepress build docs"
"docs": "typedoc && vitepress build docs",
"prepare": "husky"
},
"devDependencies": {
"@eslint/js": "~9.23.0",
@@ -21,6 +21,7 @@
"fake-indexeddb": "^6.0.0",
"globals": "~16.0.0",
"happy-dom": "^17.4.4",
"husky": "^9.1.7",
"prettier": "~3.5.3",
"typedoc": "^0.28.2",
"typedoc-plugin-markdown": "^4.6.1",