Fixed build errors

This commit is contained in:
Sebastian Seedorf
2020-11-30 11:56:27 +01:00
parent 6051c7c7d2
commit c1abe8c2a4
4 changed files with 11 additions and 3 deletions

View File

@@ -8,7 +8,11 @@
"debug-client": "tsc-watch --project ./public/js-source",
"debug-server": "tsc-watch --project ./backend --onSuccess \"node --enable-source-maps --use-openssl-ca --unhandled-rejections=strict ./backend/out/index\"",
"debug": "concurrently npm:debug-*",
"test": "nyc mocha -r ts-node/register ./public/js-source/test/**/*.ts ./backend/test/**/*.ts",
"test-client": "nyc mocha -r ts-node/register ./public/js-source/test/**/*.ts",
"test-server:default": "TS_NODE_PROJECT=backend/tsconfig.json nyc mocha -r ts-node/register ./backend/test/**/*.ts",
"test-server:windows": "SET TS_NODE_PROJECT=backend/tsconfig.json&& nyc mocha -r ts-node/register ./backend/test/**/*.ts",
"test-server": "run-script-os",
"test": "npm run test-server && npm run test-client",
"build": "tsc -b ./backend ./public/js-source",
"production": "node --use-openssl-ca --unhandled-rejections=strict ./backend/out/index",
"install-debug": "npm install && npm run build",