mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
chore: move husky to sgh
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"preview": "vite preview",
|
||||
"preview:coverage": "vite preview --outDir coverage --port 5175",
|
||||
"prepare": "husky install"
|
||||
"prepare": "simple-git-hooks"
|
||||
},
|
||||
"dependencies": {
|
||||
"@chakra-ui/anatomy": "^2.2.2",
|
||||
@@ -61,6 +61,7 @@
|
||||
"lint-staged": "^15.2.10",
|
||||
"prettier": "^3.3.3",
|
||||
"rollup": "^4.22.4",
|
||||
"simple-git-hooks": "^2.11.1",
|
||||
"terser": "^5.33.0",
|
||||
"typescript": "^5.6.2",
|
||||
"vite": "^5.4.7",
|
||||
@@ -74,6 +75,10 @@
|
||||
"*": "prettier --write --ignore-unknown",
|
||||
"*.{js,jsx,ts,tsx}": "eslint --fix --report-unused-disable-directives --max-warnings 0"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm exec lint-staged",
|
||||
"pre-push": "pnpm test"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
"printWidth": 120,
|
||||
|
||||
Reference in New Issue
Block a user