更新根目录package.json

This commit is contained in:
jingrow 2026-03-18 00:14:26 +08:00
parent 4715ca0e87
commit c6da67971e

View File

@ -16,7 +16,8 @@
"install:backend": "bash -lc 'cd apps/jingrow && if [ -f pyproject.toml ]; then uv sync; elif [ -f requirements.txt ]; then uv pip install -r requirements.txt; else echo \"No dependency manifest found\"; fi'",
"build": "npm run build:frontend",
"build:frontend": "cd apps/jingrow/frontend && npm run build",
"start": "concurrently --names \"BACKEND,FRONTEND\" --prefix-colors \"blue,green\" \"npm run start:backend\" \"sleep 3 && npm run start:frontend\"",
"start": "concurrently --names \"BACKEND,FRONTEND,WORKER\" --prefix-colors \"blue,green,yellow\" \"npm run start:backend\" \"sleep 3 && npm run start:frontend\" \"sleep 5 && npm run start:worker\"",
"start:worker": "cd apps/jingrow && uv run python -m jingrow.dramatiq",
"start:frontend": "cd apps/jingrow/frontend && npm run preview",
"start:backend": "cd apps/jingrow && uv run uvicorn jingrow.main:app --host 0.0.0.0 --port 9001",
"clean": "npm run clean:frontend && npm run clean:backend",