Skip to content
Snippets Groups Projects
Commit afa56e91 authored by GyDi's avatar GyDi
Browse files

chore: add husky

parent 4bf0c0d1
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn pretty-quick --staged
......@@ -8,7 +8,8 @@
"web:dev": "vite",
"web:build": "tsc && vite build",
"web:serve": "vite preview",
"predev": "node scripts/pre-dev.mjs"
"predev": "node scripts/pre-dev.mjs",
"prepare": "husky install"
},
"dependencies": {
"@emotion/react": "^11.7.0",
......@@ -32,9 +33,17 @@
"@vitejs/plugin-react": "^1.1.1",
"adm-zip": "^0.5.9",
"fs-extra": "^10.0.0",
"husky": "^7.0.0",
"node-fetch": "^3.1.0",
"pretty-quick": "^3.1.3",
"sass": "^1.44.0",
"typescript": "^4.5.2",
"vite": "^2.7.1"
},
"prettier": {
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"endOfLine": "lf"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment