- 将前端构建命令中的 `vue-tsc` 移除,仅保留 `vite build` - 在 .gitignore 中添加 frontend/dist 目录 - 调整 Docker Compose 网络子网和容器端口映射 - 注释掉前端服务容器定义,便于本地开发
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "by-crm-frontend",
|
|
"version": "1.0.0",
|
|
"description": "经销商管理系统前端",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.0",
|
|
"axios": "^1.6.0",
|
|
"bcryptjs": "^3.0.3",
|
|
"dayjs": "^1.11.0",
|
|
"element-plus": "^2.5.0",
|
|
"pinia": "^2.1.0",
|
|
"pinia-plugin-persistedstate": "^3.2.0",
|
|
"vue": "^3.4.0",
|
|
"vue-router": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^3.0.0",
|
|
"@types/node": "^20.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
"@typescript-eslint/parser": "^6.15.0",
|
|
"@vitejs/plugin-vue": "^5.0.0",
|
|
"eslint": "^8.55.0",
|
|
"eslint-plugin-vue": "^9.19.0",
|
|
"prettier": "^3.1.0",
|
|
"sass": "^1.69.0",
|
|
"typescript": "^5.3.0",
|
|
"vite": "^5.0.0",
|
|
"vue-tsc": "^1.8.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"pnpm": ">=8.0.0"
|
|
}
|
|
}
|