合并内容: - 后端 Swagger/OpenAPI 配置 - 后端 DTO 规范化 - 前端 Orval API 客户端自动生成 - 前端文件路由配置 - 所有测试文件和配置 冲突解决: - main.ts: 保留 Swagger 和 TransformInterceptor - package.json: 合并 orval 相关脚本和依赖 - playwright.config.ts: 使用 design 分支配置 - .env: 保留 design 分支配置 - 启动脚本: 保留 design 分支版本 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"name": "reading-platform-frontend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
<<<<<<< HEAD
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:headed": "playwright test --headed",
|
|
"api:update": "orval",
|
|
"api:watch": "orval --watch"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons-vue": "^7.0.1",
|
|
"@fullcalendar/core": "^6.1.20",
|
|
"@fullcalendar/daygrid": "^6.1.20",
|
|
"@fullcalendar/interaction": "^6.1.20",
|
|
"@fullcalendar/timegrid": "^6.1.20",
|
|
"@fullcalendar/vue3": "^6.1.20",
|
|
"ant-design-vue": "^4.1.2",
|
|
"axios": "^1.6.7",
|
|
"dayjs": "^1.11.10",
|
|
"echarts": "^6.0.0",
|
|
"lodash-es": "^4.17.21",
|
|
"lucide-vue-next": "^0.575.0",
|
|
"pdfjs-dist": "^3.11.174",
|
|
"pinia": "^2.1.7",
|
|
"vue": "^3.4.21",
|
|
"vue-router": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^20.11.28",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@vue/tsconfig": "^0.5.1",
|
|
"@playwright/test": "^1.58.2",
|
|
"orval": "^8.5.3",
|
|
"sass-embedded": "^1.97.3",
|
|
"typescript": "~5.4.0",
|
|
"unplugin-auto-import": "^0.17.5",
|
|
"unplugin-vue-components": "^0.26.0",
|
|
"unplugin-vue-router": "^0.19.2",
|
|
"vite": "^5.1.6",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vue-tsc": "^2.0.6"
|
|
}
|
|
}
|