diff options
-rw-r--r-- | package.json | 6 | ||||
-rw-r--r-- | packages/server/package.json | 3 |
2 files changed, 5 insertions, 4 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": [ diff --git a/packages/server/package.json b/packages/server/package.json index 06ce863..51fb1e6 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -5,7 +5,8 @@ "author": "HampusMat", "license": "MIT", "scripts": { - "dev": "nodemon src/server.ts" + "dev": "nodemon src/server.ts", + "start": "ts-node src/server.ts" }, "dependencies": { "date-fns": "^2.22.1", |