aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorNeel Kamath <neelkamath@pop-os.localdomain>2018-05-18 08:22:33 +0200
committerNeel Kamath <neelkamath@pop-os.localdomain>2018-05-18 08:22:33 +0200
commit731172954210c18fc6d2913eaa2e2448e31a07bf (patch)
tree460cfd702e8bfaf1268de9e92692c21638ba3508 /package.json
parentAttempt 2 (diff)
downloadhackchat-731172954210c18fc6d2913eaa2e2448e31a07bf.tar.gz
hackchat-731172954210c18fc6d2913eaa2e2448e31a07bf.zip
Check "main" and "scripts/start"
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 6 insertions, 7 deletions
diff --git a/package.json b/package.json
index 8417c13..6ce7271 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "hack.chat-v2",
"version": "2.0.1",
"description": "a minimal distraction free chat application",
- "main": "main.js",
+ "main": "server/main.js",
"repository": {
"type": "git",
"url": "git+https://github.com/hack-chat/main.git"
@@ -12,11 +12,10 @@
"npm": ">= 5.7.1"
},
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1",
- "start": "node server.js",
- "config": "node src/scripts/configure.js",
- "debug": "node src/scripts/debug.js",
- "dev": "node src/scripts/debug.js"
+ "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"
},
"author": "Marzavec",
"license": "WTFPL",
@@ -31,4 +30,4 @@
"readdir-recursive": "0.0.4",
"ws": "^5.0.0"
}
-}
+} \ No newline at end of file