Files
lpt-fe/package.json
T
cat-shark 104ae78a2b test(e2e):修复 10 个用例——全部 30 个通过
- study.spec.ts:mock 模式 **/api/tasks** 过滤 .ts 模块请求,避免拦截 Vite 文件加载
- navigation.spec.ts:同上
- start-task.spec.ts:addInitScript mock HTMLAudioElement.play 绕过音频权限弹窗
- start-task.spec.ts:补健结束会话后的 ElMessageBox.confirm 确认点击
- 复习页面入口检查新增回忆复习按钮的文本变化适配
2026-07-04 09:28:15 +08:00

48 lines
1.2 KiB
JSON

{
"name": "lpt-fe",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --mode development",
"build:dev": "vite build --mode development",
"build:production": "vite build --mode production",
"build": "vite build --mode production",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui"
},
"dependencies": {
"async-validator": "^4.2.5",
"axios": "^1.7.7",
"css-loader": "^7.1.2",
"element-plus": "^2.8.7",
"mind-elixir": "^5.13.0",
"normalize": "^0.3.1",
"normalize.css": "^8.0.1",
"style-loader": "^4.0.0",
"vue": "^3.5.12",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^28.0.3",
"@types/node": "^20.17.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/test-utils": "^2.4.10",
"@vue/tsconfig": "^0.5.1",
"jsdom": "^24.1.3",
"npm-run-all2": "^7.0.1",
"tsx": "^4.23.0",
"typescript": "~5.6.0",
"vite": "^5.4.10",
"vitest": "^2.1.9",
"vue-tsc": "^2.1.6"
}
}