From d856031c58e26992f3e0a481084a190a50b0bcf7 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 25 Jul 2021 21:51:05 +0200 Subject: Scripts make better use of Yarn workspaces --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 32ff023..239b00b 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "private": true, "scripts": { "clean": "rm -rf node_modules packages/*/node_modules packages/client/dist", - "dev": "concurrently -k --kill-others-on-fail \"cd packages/client && yarn serve\" \"cd packages/server && yarn dev\"", - "build": "cd packages/client && yarn build", - "start": "ts-node packages/server/src/app.ts", + "dev": "concurrently -k --kill-others-on-fail \"yarn workspace client serve\" \"yarn workspace server dev\"", + "build": "yarn workspace client build", + "start": "yarn workspace server start", "test": "jest --verbose" }, "workspaces": [ -- cgit v1.2.3-18-g5258