From 5524e2607de6c3112643dc6437a6036af1f043e1 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Fri, 15 Nov 2024 11:14:14 +0800 Subject: [PATCH] improve yarn scripts --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 93c6938..e7abb36 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,9 @@ "build:frontend": "(cd frontend && yarn build) && rm -rf dist/frontend && mkdir -p dist && mv frontend/dist dist/frontend", "watch": "yarn build --watch", "prepack": "yarn build", - "dev": "yarn build && concurrently -k \"cd frontend && yarn dev\" \"yarn watch\" \"node --enable-source-maps --watch . --dev-mode\"" + "dev:frontend": "cd frontend && yarn dev", + "start:dev": "node --enable-source-maps --watch . --dev-mode", + "dev": "yarn build && concurrently -k \"yarn dev:frontend\" \"yarn watch\" \"yarn start:dev\"" }, "files": [ "/dist/**"