From 2b6e771383f4c6f392b32ce26e4d759b56791132 Mon Sep 17 00:00:00 2001 From: marzavec Date: Thu, 12 Mar 2020 13:28:20 -0500 Subject: Protocol Updates and Bug Fixes --- package.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'package.json') 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" } } -- cgit v1.2.1