Skip to content

Commit

Permalink
update start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Dec 17, 2024
1 parent 6d2c1cb commit e9e6e36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion source/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
Expand Down

0 comments on commit e9e6e36

Please sign in to comment.