From e9e6e36d34619e470fe82d3d985da2169d1cbacd Mon Sep 17 00:00:00 2001 From: Sebastien DUMETZ Date: Tue, 17 Dec 2024 15:19:42 +0100 Subject: [PATCH] update start scripts --- package.json | 2 +- source/server/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0e8e636c..76dd1c34 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "description": "3D model database and content management system with integrated annotations and stories 3D editor", "scripts": { - "start": "cd source/server/ && EXPERIMENTAL=1 npm start", + "start": "cd source/server/ && ROOT_DIR=\"$(pwd)/../..\" EXPERIMENTAL=1 npm start", "test": "cd source/server/ && npm test", "build-ui": "cd source/ui && webpack --mode=production", "build-server": "tsc -b source/server", diff --git a/source/server/package.json b/source/server/package.json index a4e2a8c0..fbfb2841 100755 --- a/source/server/package.json +++ b/source/server/package.json @@ -5,7 +5,7 @@ "public": false, "type": "module", "scripts": { - "start": "ROOT_DIR=\"$(pwd)/../..\" node ./dist/index.js", + "start": "node ./dist/index.js", "test": "NODE_NO_WARNINGS=1 mocha", "test-watch": "NODE_NO_WARNINGS=1 mocha --parallel --watch --reporter min", "build": "tsc -b ."