collector-dashboard/package.json
tangweijie e0a6ba2dc4 feat: 初始化 React 数据看板项目
- Vite + React 18 + TypeScript
- TailwindCSS 暗色主题
- 仪表板、分析、事件浏览页面
- Recharts 图表组件
- Zustand 状态管理
- TanStack Query 数据请求
2026-01-05 18:08:27 +08:00

44 lines
1.2 KiB
JSON

{
"name": "collector-dashboard",
"version": "0.1.0",
"private": true,
"description": "数据分析看板 - React + TypeScript + Vite",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.17.0",
"axios": "^1.6.0",
"clsx": "^2.1.0",
"date-fns": "^3.0.0",
"lucide-react": "^0.303.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.0",
"recharts": "^2.10.0",
"tailwind-merge": "^2.2.0",
"zustand": "^4.4.0"
},
"devDependencies": {
"@types/node": "^20.10.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.0",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.0",
"vite": "^5.0.0"
}
}