Moved backend to a separate directory
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
"lint": "eslint . --ext .ts",
|
||||
"lint-fix": "eslint . --ext .ts --fix",
|
||||
"debug-client": "tsc-watch --project ./public/js-source",
|
||||
"debug-server": "tsc-watch --project . --onSuccess \"node --enable-source-maps --use-openssl-ca --unhandled-rejections=strict ./out/index\"",
|
||||
"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 ./test/**/*.ts",
|
||||
"test": "nyc mocha -r ts-node/register ./public/js-source/test/**/*.ts ./backend/test/**/*.ts",
|
||||
"build": "tsc",
|
||||
"production": "node --use-openssl-ca --unhandled-rejections=strict ./out/index",
|
||||
"production": "node --use-openssl-ca --unhandled-rejections=strict ./backend/out/index",
|
||||
"install-debug": "npm install && npm run build",
|
||||
"install-prod": "npm install --only=dev && npm install --only=prod && npm run build && npm test && npm run del-node-module && npm install --only=prod",
|
||||
"del-node-module:default": "rm -r node_modules",
|
||||
|
||||
Reference in New Issue
Block a user