- Install oxfmt with .oxfmtrc.json (maps Prettier config) - Install oxlint with oxlint.config.ts (TypeScript + React rules) - Replace admin ESLint with oxlint - Remove Prettier integration from server ESLint (keep ESLint for type checking) - Delete server .prettierrc and admin eslint.config.js
34 lines
782 B
JSON
34 lines
782 B
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "oxlint --config ../../oxlint.config.ts",
|
|
"format": "oxfmt",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^6.1.1",
|
|
"antd": "^6.3.6",
|
|
"axios": "^1.15.1",
|
|
"dayjs": "^1.11.20",
|
|
"echarts": "^6.0.0",
|
|
"echarts-for-react": "^3.0.6",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"react-router-dom": "^7.14.1",
|
|
"tslib": "^2.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.12.2",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.0.9"
|
|
}
|
|
}
|