Files
crawler-plugin/frontend-vue/package.json
T
huangzd1997 9bf25765dd task-81: 建立前端任务轮询请求量、响应体大小和页面内存基线
新增纯 TS 轮询基线组件 task-polling-baseline:累计轮询请求数、每次
批量响应的总字节与单次最大响应、按条目数/字节双上限的有界内存缓存
(超限驱逐最旧条目),失败路径零状态变更。useTaskProgressLoop 新增
可选 onBaseline 选项接入基线(默认零行为变化)。测试用 Node 24 原生
type-stripping + node:test 运行(npm test),8 个用例覆盖默认路径、
批量、幂等、空输入、单元素、限流溢出、非法输入与失败恢复。
2026-08-30 22:38:51 +08:00

27 lines
660 B
JSON

{
"name": "crawler-plugin-frontend-vue",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite --host --port 5173",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"test": "node --test tests/*.test.ts"
},
"dependencies": {
"axios": "^1.13.6",
"element-plus": "^2.11.4",
"vue": "^3.5.18",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@types/node": "^24.3.0",
"@vitejs/plugin-vue": "^6.0.1",
"typescript": "^5.9.2",
"unplugin-auto-import": "^20.1.0",
"unplugin-vue-components": "^29.0.0",
"vite": "^7.1.3",
"vue-tsc": "^3.0.6"
}
}