Merge pull request #165 from strongloop/loopback3

Update loopback@3
This commit is contained in:
Loay 2016-10-25 09:49:51 -04:00 committed by GitHub
commit e625391cf6
3 changed files with 4 additions and 2 deletions

View File

@ -278,4 +278,3 @@ exports.download = function(provider, req, res, container, file, cb) {
}
}
};

View File

@ -18,7 +18,7 @@
"eslint": "^2.13.1",
"eslint-config-loopback": "^4.0.0",
"express": "^4.11.0",
"loopback": "^2.10.0",
"loopback": "^3.0.0",
"mkdirp": "^0.5.0",
"mocha": "^2.1.0",
"supertest": "^0.15.0"

View File

@ -11,6 +11,9 @@ var assert = require('assert');
var app = loopback();
var path = require('path');
// configure errorHandler to show full error message
app.set('remoting', {errorHandler: {debug: true, log: false}});
// expose a rest api
app.use(loopback.rest());