backend: router hot-reloading

This commit is contained in:
41666 2019-02-25 00:47:08 -06:00
parent 11cf1d4805
commit 959a2eb46f
4 changed files with 53 additions and 20 deletions

View file

@ -3,12 +3,13 @@
"version": "2.0.0",
"main": "index.js",
"scripts": {
"start": "pm2 start index.js",
"dev": "pm2 start index.js --watch",
"build": "next build"
"start": "node index.js",
"dev": "node index.js",
"build": "next build ui"
},
"dependencies": {
"@discordjs/uws": "^11.149.1",
"@primer/components": "^10.0.1",
"chalk": "^2.4.2",
"discord.js": "^11.4.2",
"dotenv": "^6.2.0",
@ -32,5 +33,12 @@
"socket.io": "^2.2.0",
"superagent": "^4.1.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"chokidar": "^2.1.2",
"flow-type": "^1.0.1",
"standard": "^12.0.1"
}
}