Update dependencies
This commit is contained in:
parent
c3a3f76f24
commit
9be0f779ae
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ VERSION := $(shell node -e "console.log(require('./package.json').version)")
|
|||
.PHONY: cover test bdd lint release
|
||||
|
||||
test:
|
||||
@$(BIN)/mocha --colors $(TEST_FILES)
|
||||
@$(BIN)/mocha --colors -R dot $(TEST_FILES)
|
||||
|
||||
bdd:
|
||||
@$(BIN)/mocha --colors -R spec $(TEST_FILES)
|
||||
|
|
|
@ -30,7 +30,10 @@ var API = module.exports = function API(opts) {
|
|||
this.express.set('title', 'Cylon API Server');
|
||||
|
||||
this.express.use(this.setupAuth());
|
||||
this.express.use(bodyParser());
|
||||
|
||||
this.express.use(bodyParser.json());
|
||||
this.express.use(bodyParser.urlencoded({ extended: true }));
|
||||
|
||||
this.express.use(express["static"](__dirname + "/../node_modules/robeaux/"));
|
||||
|
||||
// set CORS headers for API requests
|
||||
|
|
14
package.json
14
package.json
|
@ -36,16 +36,16 @@
|
|||
},
|
||||
|
||||
"devDependencies": {
|
||||
"sinon-chai": "2.5.0",
|
||||
"chai": "1.9.1",
|
||||
"mocha": "1.18.2",
|
||||
"sinon": "1.9.1"
|
||||
"sinon-chai": "2.6.0",
|
||||
"chai": "1.9.2",
|
||||
"mocha": "1.21.5",
|
||||
"sinon": "1.10.3"
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
"async": "0.7.0",
|
||||
"express": "4.4.1",
|
||||
"body-parser": "1.3.0",
|
||||
"async": "0.9.0",
|
||||
"express": "4.9.8",
|
||||
"body-parser": "1.9.0",
|
||||
"robeaux": "0.2.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue