streamline dev flow
This commit is contained in:
+6
-16
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user