|
9 | 9 | "lint": "eslint .",
|
10 | 10 | "preview": "vite preview",
|
11 | 11 | "prettier:check": "prettier --check 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
|
12 |
| - "prettier:fix": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'" |
| 12 | + "prettier:fix": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'", |
| 13 | + "i18n-server": "node src/server.js" |
13 | 14 | },
|
14 | 15 | "dependencies": {
|
15 |
| - |
16 | 16 | "@mantine/hooks": "^7.12.0",
|
17 | 17 | "@radix-ui/react-accordion": "^1.2.1",
|
18 | 18 | "@radix-ui/react-dialog": "^1.1.2",
|
|
45 | 45 | "react-day-picker": "8.10.1",
|
46 | 46 | "react-dom": "^18.3.1",
|
47 | 47 | "react-dropzone": "^14.2.3",
|
48 |
| - "react-i18next": "^14.1.1", |
| 48 | + "react-i18next": "^15.0.2", |
49 | 49 | "react-router": "^6.23.1",
|
50 | 50 | "react-router-dom": "^6.23.1",
|
51 | 51 | "recharts": "^2.12.7",
|
|
70 | 70 | "@vitejs/plugin-react": "^4.3.2",
|
71 | 71 | "@vitejs/plugin-react-swc": "^3.5.0",
|
72 | 72 | "autoprefixer": "^10.4.20",
|
| 73 | + "body-parser": "^1.20.3", |
| 74 | + "cors": "^2.8.5", |
73 | 75 | "eslint": "^9.11.1",
|
74 | 76 | "eslint-config-prettier": "^9.1.0",
|
75 | 77 | "eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
76 | 78 | "eslint-plugin-react-refresh": "^0.4.12",
|
| 79 | + "express": "^4.21.0", |
77 | 80 | "globals": "^15.9.0",
|
78 | 81 | "husky": "^9.0.11",
|
79 | 82 | "i18next-parser": "^8.13.0",
|
|
86 | 89 | "typescript-eslint": "^8.7.0",
|
87 | 90 | "vite": "^5.4.8",
|
88 | 91 | "vite-plugin-compression": "^0.5.1"
|
| 92 | + }, |
| 93 | + "husky": { |
| 94 | + "hooks": { |
| 95 | + "pre-commit": "pnpm run prettier:fix" |
| 96 | + } |
89 | 97 | }
|
90 | 98 | }
|
0 commit comments