Files
FastapiAdmin/frontend/package.json
T
zhangtao d2ce97a8c5 refactor(frontend): 优化构建配置并移除冗余选项
- 移除package.json中build命令的NODE_OPTIONS参数
- 简化vite配置中的rollupOptions,保留手动分包功能但移除不必要的输出配置
- 移除生产环境下的console和debugger清除配置
2025-06-02 23:28:41 +08:00

38 lines
866 B
JSON

{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@types/node": "^20.11.20",
"ant-design-vue": "^4.2.5",
"axios": "^1.6.7",
"echarts": "^5.5.0",
"element-plus": "^2.8.4",
"highlight.js": "^11.10.0",
"md5": "^2.3.0",
"pinia": "^3.0.0",
"pinia-plugin-persistedstate": "^4.3.0",
"sass": "1.63.2",
"store": "^2.0.12",
"vue": "^3.3.11",
"vue-echarts": "^6.6.9",
"vue-request": "^2.0.4",
"vue-router": "^4.2.5",
"vue3-cron-plus-picker": "^1.0.2",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@types/md5": "^2.3.5",
"@types/store": "^2.0.5",
"@vitejs/plugin-vue": "^4.5.2",
"vite": "5.2.8"
}
}