aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-18 13:40:19 +0200
committerHampusM <hampus@hampusmat.com>2021-07-18 13:40:19 +0200
commit2e333f01de88217f33ed2fb9ba0c18ed1357419c (patch)
tree3492f05edbce187f53e1fe0f9bbef64e725ede08 /package.json
parent29ac9af81d94f7de298d98d9597c73ddd1c93bb0 (diff)
Backend is run by ts-node instead of node with precompiled ts
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index 6f17e44..85bf0f2 100644
--- a/package.json
+++ b/package.json
@@ -5,10 +5,10 @@
"author": "HampusMat",
"private": true,
"scripts": {
- "clean": "rm -rf node_modules git packages/*/node_modules packages/*/dist",
+ "clean": "rm -rf node_modules git 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 && cd ../server && yarn tsc",
- "start": "node packages/server/dist/app.js",
+ "build": "cd packages/client && yarn build",
+ "start": "ts-node packages/server/src/app.ts",
"test": "jest --verbose"
},
"workspaces": [