aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2018-05-20 02:21:08 +0200
committermarzavec <admin@marzavec.com>2018-05-20 02:21:08 +0200
commita70006b5bca3c3273ba34bfd0607235339e87583 (patch)
treef360e6d4e5e636956fa03a32a6f8064285ba424a /package.json
parentMerge pull request #12 from neelkamath/master (diff)
downloadhackchat-a70006b5bca3c3273ba34bfd0607235339e87583.tar.gz
hackchat-a70006b5bca3c3273ba34bfd0607235339e87583.zip
streamline dev flow
Diffstat (limited to 'package.json')
-rw-r--r--package.json22
1 files changed, 6 insertions, 16 deletions
diff --git a/package.json b/package.json
index 6ce7271..b47faa5 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"name": "hack.chat-v2",
- "version": "2.0.1",
+ "version": "2.0.2",
"description": "a minimal distraction free chat application",
- "main": "server/main.js",
+ "main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/hack-chat/main.git"
@@ -12,22 +12,12 @@
"npm": ">= 5.7.1"
},
"scripts": {
- "start": "node server/main.js",
- "config": "node server/src/scripts/configure.js",
- "debug": "node server/src/scripts/debug.js",
- "dev": "node server/src/scripts/debug.js"
+ "start": "pm2 start ./server/main.js --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": {
- "chalk": "^2.3.2",
- "common-tags": "^1.7.2",
- "dateformat": "^3.0.3",
- "deasync": "^0.1.12",
- "didyoumean2": "^1.3.0",
- "fs-extra": "^5.0.0",
- "prompt": "^1.0.0",
- "readdir-recursive": "0.0.4",
- "ws": "^5.0.0"
+ "pm2": "^2.10.4"
}
-} \ No newline at end of file
+}