Files
robot_manager/package.json
huaqiang fd753291fe refactor: vite.config.ts 类型修复与 Vite 8 迁移适配
- 修复 vite.config.ts 中 command 隐式 any 类型错误
- 修复 proxy 中 path 参数隐式 any 类型错误
- 将无效的 oxc.drop 配置迁移为 Vite 8 原生方式(build.rolldownOptions.output.minify.compress)
- 引入 defineConfig + ConfigEnv 提供完整类型推导
- JS 文件迁移为 TypeScript(user.ts, routerGuard.ts 等)
- 更新 API 层类型定义
2026-08-12 14:13:45 +08:00

37 lines
857 B
JSON

{
"name": "dashboard-demo",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview",
"format": "prettier --write ."
},
"dependencies": {
"@types/node": "^20.4.4",
"axios": "^1.18.1",
"echarts": "^5.4.3",
"echarts-liquidfill": "^3.1.0",
"jsencrypt": "^3.5.4",
"ol": "^7.4.0",
"pinia": "^3.0.4",
"prettier": "^3.0.0",
"vue": "^3.5.39",
"vue-router": "^5.1.0"
},
"devDependencies": {
"@vicons/fluent": "^0.12.0",
"@vitejs/plugin-vue": "^6.0.8",
"@vitejs/plugin-vue-jsx": "^5.1.6",
"@vue/compiler-sfc": "^3.5.39",
"less": "^4.1.3",
"naive-ui": "^2.44.1",
"typescript": "^5.9.3",
"unplugin-vue-components": "^28.7.0",
"vite": "8.1.4",
"vue-tsc": "^3.3.9"
}
}