aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 9edd245..b54c911 100644
--- a/package.json
+++ b/package.json
@@ -12,12 +12,13 @@
"npm": ">= 6.7.0"
},
"scripts": {
- "start": "pm2 start ./server/main.js --name hackchat-dev-server && cd ./clientSource && npm start && pm2 stop hackchat-dev-server",
+ "start": "pm2 start ./server/main.js --node-args=\"-r esm\" --name hackchat-dev-server && cd ./clientSource && npm start && pm2 stop hackchat-dev-server",
"postinstall": "cd ./clientSource && npm install && cd .. & cd ./server && npm install && npm run config"
},
"author": "Marzavec",
"license": "WTFPL",
"dependencies": {
- "pm2": "^3.5.1"
+ "esm": "^3.2.25",
+ "pm2": "^4.1.2"
}
}