Files
Web_BLS_ProjectConsole/package.json
XuJiacheng 282f7268ed feat: 重构项目心跳数据结构并实现项目列表API
- 新增统一项目列表Redis键和迁移工具
- 实现GET /api/projects端点获取项目列表
- 实现POST /api/projects/migrate端点支持数据迁移
- 更新前端ProjectSelector组件使用真实项目数据
- 扩展projectStore状态管理
- 更新相关文档和OpenSpec规范
- 添加测试用例验证新功能
2026-01-13 19:45:05 +08:00

36 lines
984 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "web-bls-projectconsole",
"version": "1.0.0",
"description": "前后端Node.js控制台项目用于从Redis队列读取日志记录并展示以及发送控制台指令到Redis队列",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"start": "node src/backend/server.js",
"start:dev": "nodemon src/backend/server.js",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint . --ext .js,.vue --config .eslintrc.cjs",
"format": "prettier --write ."
},
"dependencies": {
"axios": "^1.6.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"redis": "^4.6.10",
"vue": "^3.3.8",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.5.0",
"eslint": "^8.53.0",
"eslint-plugin-vue": "^9.18.1",
"nodemon": "^3.0.1",
"prettier": "^3.1.0",
"supertest": "^7.1.3",
"vite": "^5.0.0",
"vitest": "^1.6.0"
}
}