diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-25 21:51:05 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-25 21:51:05 +0200 |
commit | d856031c58e26992f3e0a481084a190a50b0bcf7 (patch) | |
tree | 331355808b6f785631fa760c8547ed5456af0068 /package.json | |
parent | ed804949e979a667bc271332dcae1ae9fe0939a6 (diff) |
Scripts make better use of Yarn workspaces
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
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": [ |