aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2020-03-12 19:28:20 +0100
committermarzavec <admin@marzavec.com>2020-03-12 19:28:20 +0100
commit2b6e771383f4c6f392b32ce26e4d759b56791132 (patch)
treeb8c1cefecbd7f5816a3fb5ddc4bdb6bdfe463ba2 /package.json
parentMerge pull request #96 from MinusGix/fixKickHash (diff)
downloadhackchat-2b6e771383f4c6f392b32ce26e4d759b56791132.tar.gz
hackchat-2b6e771383f4c6f392b32ce26e4d759b56791132.zip
Protocol Updates and Bug Fixes
Diffstat (limited to 'package.json')
-rw-r--r--package.json14
1 files changed, 10 insertions, 4 deletions
diff --git a/package.json b/package.json
index acd92fa..47dd318 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hack.chat-v2",
- "version": "2.1.91",
+ "version": "2.1.93",
"description": "a minimal distraction free chat application",
"main": "index.js",
"repository": {
@@ -12,13 +12,19 @@
"npm": ">= 6.7.0"
},
"scripts": {
- "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"
+ "start": "pm2 startOrReload pm2.config.js",
+ "stop": "pm2 stop pm2.config.js && pm2 delete pm2.config.js",
+ "logs": "pm2 logs",
+ "clear": "pm2 flush",
+ "status": "pm2 list",
+ "refresh": "pm2 flush && pm2 stop pm2.config.js && pm2 delete pm2.config.js",
+ "postinstall": "cd ./server && npm install && npm run config"
},
"author": "Marzavec",
"license": "WTFPL",
"dependencies": {
"esm": "^3.2.25",
- "pm2": "^4.2.0"
+ "http-server": "^0.12.1",
+ "pm2": "^4.2.3"
}
}