From c6da67971ee16a96ba059f286721484889ebcac1 Mon Sep 17 00:00:00 2001 From: jingrow Date: Wed, 18 Mar 2026 00:14:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A0=B9=E7=9B=AE=E5=BD=95pa?= =?UTF-8?q?ckage.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index aecb67d..72131da 100644 --- a/package.json +++ b/package.json @@ -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",