Upgrade loopback to 3.0.0

This commit is contained in:
Loay 2016-10-19 12:01:05 -04:00
parent b6528e184f
commit 0931e9da83
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());