Skip to content

Commit

Permalink
chore: add simple-git-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Jul 6, 2024
1 parent 8d270fc commit cc1c02f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,14 @@
"prettier": "^2.8.8",
"raw-loader": "^4.0.2",
"shx": "^0.3.4",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.2.2",
"vite": "^5.3.1",
"vite-plugin-node-polyfills": "^0.22.0",
"vue-tsc": "^2.0.21"
},
"simple-git-hooks": {
"pre-commit": "npm run lint-staged"
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "npm run lint"
Expand Down

0 comments on commit cc1c02f

Please sign in to comment.