refactored server

This commit is contained in:
Danny Coates 2018-02-06 14:31:18 -08:00
parent 6d470b8eba
commit 3fd2537311
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
36 changed files with 2944 additions and 792 deletions

View file

@ -24,8 +24,10 @@
"contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
"release": "npm-run-all contributors changelog",
"test": "mocha test/unit",
"test:ci": "nyc mocha --reporter=min test/unit",
"start": "cross-env NODE_ENV=development webpack-dev-server",
"prod": "node server/prod.js"
"prod": "node server/prod.js",
"cover": "nyc --reporter=html mocha test/unit"
},
"lint-staged": {
"*.js": [
@ -39,6 +41,12 @@
"git add"
]
},
"nyc": {
"reporter": [
"text-summary"
],
"cache": true
},
"engines": {
"node": ">=8.2.0"
},
@ -73,11 +81,13 @@
"mocha": "^5.0.0",
"nanobus": "^4.3.2",
"npm-run-all": "^4.1.2",
"nsp": "^3.1.0",
"nyc": "^11.4.1",
"postcss-loader": "^2.1.0",
"prettier": "^1.10.2",
"proxyquire": "^1.8.0",
"raven-js": "^3.22.1",
"redis-mock": "^0.20.0",
"redis-mock": "^0.21.0",
"require-from-string": "^2.0.1",
"rimraf": "^2.6.2",
"selenium-webdriver": "^3.6.0",