Update dependencies

This commit is contained in:
Andrew Stewart 2014-10-20 14:38:41 -07:00
parent c3a3f76f24
commit 9be0f779ae
3 changed files with 12 additions and 9 deletions

View File

@ -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)

View File

@ -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

View File

@ -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"
}
}