aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-10-19 14:07:13 -0700
committerSam Wilkins <samwilkins333@gmail.com>2020-10-19 14:07:13 -0700
commit5ea307d3f66d5d8bd5f6060590620083503a7a12 (patch)
tree3618ce864b4f9137a2f77e784c79058566ca2bd3 /package.json
parentb19972afc64bb9029b78c633e1841988af76adab (diff)
Switch to ts-node from ts-node-dev for server monitoring
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6736d27f6..29fbf4193 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"debug": "cross-env NODE_OPTIONS=--max_old_space_size=8192 ts-node-dev --transpile-only --inspect -- src/server/index.ts",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 webpack --env production",
"test": "mocha -r ts-node/register test/**/*.ts",
+ "monitor": "cross-env MONITORED=true NODE_OPTIONS=--max_old_space_size=4096 ts-node src/server/index.ts",
"tsc": "tsc"
},
"devDependencies": {
@@ -124,6 +125,7 @@
"@hig/theme-context": "^2.1.3",
"@hig/theme-data": "^2.16.1",
"@material-ui/core": "^4.11.0",
+ "@types/cors": "^2.8.8",
"@types/google-maps": "^3.2.2",
"@types/reveal": "^3.3.33",
"@types/webscopeio__react-textarea-autocomplete": "^4.6.1",
@@ -261,4 +263,4 @@
"xoauth2": "^1.2.0",
"xregexp": "^4.3.0"
}
-}
+} \ No newline at end of file