From 2e333f01de88217f33ed2fb9ba0c18ed1357419c Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 18 Jul 2021 13:40:19 +0200 Subject: Backend is run by ts-node instead of node with precompiled ts --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') 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": [ -- cgit v1.2.3-18-g5258