feat: 使用concurrently实现跨平台同时启动前后端
refactor(models): 优化模型初始化逻辑避免重复同步 refactor(OperationLog): 将createdAt索引改为operateTime docs: 添加一次性启动解决方案文档
This commit is contained in:
+11
-4
@@ -3,12 +3,19 @@
|
||||
"version": "1.0.0",
|
||||
"description": "IDC设备管理系统",
|
||||
"scripts": {
|
||||
"start": "npm run start:backend & npm run start:frontend",
|
||||
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
|
||||
"start:backend": "cd backend && npm run dev",
|
||||
"start:frontend": "cd frontend && npm run dev",
|
||||
"install:all": "npm install && cd backend && npm install && cd ../frontend && npm install"
|
||||
},
|
||||
"keywords": ["idc", "device", "management"],
|
||||
"keywords": [
|
||||
"idc",
|
||||
"device",
|
||||
"management"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT"
|
||||
}
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"concurrently": "^9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user