mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 08:38:09 -05:00
Fix pre-commit script not being generated
This commit is contained in:
parent
738e2a4e7e
commit
1ef5d5bbbd
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx pretty-quick --staged
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -17,7 +17,7 @@
|
||||
"@types/react": "^18.0.28",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@vitejs/plugin-react-swc": "^3.0.0",
|
||||
"husky": "^8.0.3",
|
||||
"husky": "^8.0.0",
|
||||
"pretty-quick": "^3.1.3",
|
||||
"typescript": "^4.9.3",
|
||||
"vite": "^4.2.0"
|
||||
|
@ -19,14 +19,9 @@
|
||||
"@types/react": "^18.0.28",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@vitejs/plugin-react-swc": "^3.0.0",
|
||||
"husky": "^8.0.3",
|
||||
"husky": "^8.0.0",
|
||||
"pretty-quick": "^3.1.3",
|
||||
"typescript": "^4.9.3",
|
||||
"vite": "^4.2.0"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "pretty-quick --staged"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user