We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d83df75 commit f1b5c5fCopy full SHA for f1b5c5f
2 files changed
package.json
@@ -4,7 +4,7 @@
4
"version": "0.0.0",
5
"type": "module",
6
"scripts": {
7
- "prepare": "panda codegen",
+ "prepare": "husky",
8
"dev": "vite",
9
"build": "tsc -b && vite build",
10
"lint": "eslint .",
@@ -35,10 +35,23 @@
35
"eslint-plugin-react-refresh": "^0.4.19",
36
"gh-pages": "^6.3.0",
37
"globals": "^16.0.0",
38
+ "husky": "^9.1.7",
39
+ "lint-staged": "^16.1.2",
40
"prettier": "^3.5.3",
41
"typescript": "^5.8.3",
42
"typescript-eslint": "^8.30.1",
43
"vite": "^6.3.5",
44
"vite-tsconfig-paths": "^5.1.4"
45
+ },
46
+ "lint-staged": {
47
+ "*.{js,jsx,ts,tsx}": [
48
+ "eslint --fix",
49
+ "prettier --write"
50
+ ]
51
52
+ "husky": {
53
+ "hooks": {
54
+ "pre-commit": "lint-staged"
55
+ }
56
}
-}
57
+}
0 commit comments