Files
lpt-fe/package.json
T
cat-shark 3adbeb183c fix:Transition 白屏——组件多根节点 + Vite 模块请求拦截
- Welcome.vue:回忆卡片 el-dialog 和根 section 共存导致多根节点,<Transition>
  无法动画。包裹一层 <div>
- Study.vue:同上(权重配置对话框)
- MindMapViewer.vue:事件名 selectNode→selectNewNode(类型错误)
- e2e/study.spec.ts + navigation.spec.ts:地址栏 Vite 在模块 URL 后追加
  ?t=... 时间戳,.endsWith('.ts') 匹配失效,改用 url.includes('/src/')
2026-07-04 09:43:07 +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": "npx 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"
}
}