Add husky pre commit hook
This commit is contained in:
+3
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user