[Test] Express backend

This commit is contained in:
Zalmoxisus
2017-01-02 14:42:44 +02:00
parent bcc1d15b84
commit 46a61dc45e
2 changed files with 52 additions and 2 deletions

View File

@@ -13,6 +13,11 @@
"index.js",
"defaultDbOptions.json"
],
"scripts": {
"test": "NODE_ENV=test mocha --recursive",
"test:watch": "NODE_ENV=test mocha --recursive --watch",
"prepublish": "npm run test"
},
"repository": {
"type": "git",
"url": "https://github.com/zalmoxisus/remotedev-server.git"
@@ -21,8 +26,8 @@
"devtools",
"remotedev"
],
"engines" : {
"node" : ">=4.0.0"
"engines": {
"node": ">=4.0.0"
},
"author": "Mihail Diordiev <zalmoxisus@gmail.com> (https://github.com/zalmoxisus)",
"license": "MIT",
@@ -49,5 +54,10 @@
"semver": "^5.3.0",
"socketcluster": "^5.0.4",
"sqlite3": "^3.1.8"
},
"devDependencies": {
"expect": "^1.20.2",
"mocha": "^3.2.0",
"supertest": "^2.0.1"
}
}