Skip to content

Commit af3f2fa

Browse files
committed
update deps
1 parent 4fc2093 commit af3f2fa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "vue-tsc && vite build",
88
"preview": "vite preview",
99
"lint": "eslint .",
10-
"lint:fix": "eslint . --fix"
10+
"lint:fix": "eslint . --fix",
11+
"prepare": "simple-git-hooks"
1112
},
1213
"dependencies": {
1314
"vue": "^3.3.11",
@@ -24,5 +25,11 @@
2425
"unocss": "^0.58.5",
2526
"vite": "^5.0.8",
2627
"vue-tsc": "^1.8.25"
28+
},
29+
"simple-git-hooks": {
30+
"pre-commit": "pnpm lint-staged"
31+
},
32+
"lint-staged": {
33+
"*": "eslint --fix"
2734
}
2835
}

0 commit comments

Comments
 (0)