2013-04-09 16:02:36 +00:00
|
|
|
{
|
2013-07-16 17:49:25 +00:00
|
|
|
"name": "loopback",
|
2019-05-31 07:04:12 +00:00
|
|
|
"version": "3.26.0",
|
2014-07-26 04:14:27 +00:00
|
|
|
"description": "LoopBack: Open Source Framework for Node.js",
|
2014-05-12 16:22:09 +00:00
|
|
|
"homepage": "http://loopback.io",
|
2013-10-29 21:12:23 +00:00
|
|
|
"keywords": [
|
2014-09-06 18:28:58 +00:00
|
|
|
"web",
|
2014-05-24 00:48:37 +00:00
|
|
|
"restful",
|
|
|
|
"rest",
|
|
|
|
"api",
|
2014-05-27 17:54:39 +00:00
|
|
|
"express",
|
|
|
|
"restify",
|
|
|
|
"koa",
|
2014-05-24 00:48:37 +00:00
|
|
|
"auth",
|
|
|
|
"security",
|
|
|
|
"oracle",
|
|
|
|
"mysql",
|
|
|
|
"nosql",
|
|
|
|
"mongo",
|
|
|
|
"mongodb",
|
|
|
|
"sqlserver",
|
|
|
|
"mssql",
|
2014-05-27 17:24:26 +00:00
|
|
|
"postgres",
|
2014-05-27 17:58:26 +00:00
|
|
|
"postgresql",
|
2014-05-27 17:43:36 +00:00
|
|
|
"soap",
|
2013-10-29 21:12:23 +00:00
|
|
|
"StrongLoop",
|
2014-05-27 17:43:36 +00:00
|
|
|
"framework",
|
2014-05-27 17:54:39 +00:00
|
|
|
"mobile",
|
2013-10-29 21:12:23 +00:00
|
|
|
"mBaaS"
|
|
|
|
],
|
2013-04-09 16:02:36 +00:00
|
|
|
"scripts": {
|
2016-08-29 21:41:02 +00:00
|
|
|
"lint": "grunt eslint",
|
2017-01-31 12:22:22 +00:00
|
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
|
|
"test": "nyc grunt mocha-and-karma"
|
2013-04-09 16:02:36 +00:00
|
|
|
},
|
2016-11-15 12:48:29 +00:00
|
|
|
"engines": {
|
2019-05-13 14:20:26 +00:00
|
|
|
"node": ">=8"
|
2016-11-15 12:48:29 +00:00
|
|
|
},
|
2013-04-09 16:02:36 +00:00
|
|
|
"dependencies": {
|
2016-08-02 08:59:21 +00:00
|
|
|
"async": "^2.0.1",
|
2015-03-05 00:30:03 +00:00
|
|
|
"bcryptjs": "^2.1.0",
|
2015-12-17 18:34:10 +00:00
|
|
|
"bluebird": "^3.1.1",
|
2015-03-05 00:30:03 +00:00
|
|
|
"body-parser": "^1.12.0",
|
2014-06-27 08:36:06 +00:00
|
|
|
"canonical-json": "0.0.4",
|
2015-03-05 00:30:03 +00:00
|
|
|
"debug": "^2.1.2",
|
2015-02-26 15:29:29 +00:00
|
|
|
"depd": "^1.0.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"ejs": "^2.3.1",
|
2016-06-17 07:52:37 +00:00
|
|
|
"express": "^4.14.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"inflection": "^1.6.0",
|
2017-03-03 14:53:49 +00:00
|
|
|
"isemail": "^2.2.1",
|
2019-06-04 20:21:20 +00:00
|
|
|
"lodash": "^4.17.11",
|
2016-09-22 10:31:51 +00:00
|
|
|
"loopback-connector-remote": "^3.0.0",
|
2018-11-12 21:53:00 +00:00
|
|
|
"loopback-datasource-juggler": "^3.28.0",
|
2017-11-02 10:01:52 +00:00
|
|
|
"loopback-filters": "^1.0.0",
|
2017-03-03 14:53:49 +00:00
|
|
|
"loopback-phase": "^3.0.0",
|
2017-08-25 15:05:02 +00:00
|
|
|
"nodemailer": "^4.0.1",
|
|
|
|
"nodemailer-direct-transport": "^3.3.2",
|
|
|
|
"nodemailer-stub-transport": "^1.1.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"serve-favicon": "^2.2.0",
|
2014-12-15 07:14:26 +00:00
|
|
|
"stable": "^0.1.5",
|
2018-06-11 14:53:14 +00:00
|
|
|
"strong-globalize": "^4.1.1",
|
2018-04-16 12:07:30 +00:00
|
|
|
"strong-remoting": "^3.11.0",
|
2019-06-04 20:21:20 +00:00
|
|
|
"uid2": "0.0.3"
|
2013-04-09 16:02:36 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-01-27 10:29:39 +00:00
|
|
|
"babel-preset-es2015": "^6.22.0",
|
|
|
|
"babelify": "^7.3.0",
|
2016-08-02 08:59:21 +00:00
|
|
|
"browserify": "^13.1.0",
|
|
|
|
"chai": "^3.5.0",
|
2016-05-31 14:50:04 +00:00
|
|
|
"cookie-parser": "^1.3.4",
|
2018-08-08 15:22:20 +00:00
|
|
|
"coveralls": "^3.0.2",
|
2016-11-22 14:30:04 +00:00
|
|
|
"dirty-chai": "^1.2.2",
|
2018-08-08 15:22:20 +00:00
|
|
|
"eslint": "^5.3.0",
|
2018-09-12 15:19:48 +00:00
|
|
|
"eslint-config-loopback": "^12.0.0",
|
2018-08-08 15:22:20 +00:00
|
|
|
"eslint-plugin-mocha": "^5.1.0",
|
2016-08-16 11:51:42 +00:00
|
|
|
"express-session": "^1.14.0",
|
2019-06-04 20:21:20 +00:00
|
|
|
"grunt": "^1.0.4",
|
2016-08-02 08:59:21 +00:00
|
|
|
"grunt-browserify": "^5.0.0",
|
|
|
|
"grunt-cli": "^1.2.0",
|
2018-08-08 15:22:20 +00:00
|
|
|
"grunt-contrib-uglify": "^3.4.0",
|
2016-08-02 08:59:21 +00:00
|
|
|
"grunt-contrib-watch": "^1.0.0",
|
2018-08-08 15:22:20 +00:00
|
|
|
"grunt-eslint": "^21.0.0",
|
2019-05-13 14:15:58 +00:00
|
|
|
"grunt-karma": "^3.0.2",
|
2018-08-08 15:22:20 +00:00
|
|
|
"grunt-mocha-test": "^0.13.3",
|
2018-09-07 19:31:09 +00:00
|
|
|
"grunt-run": "^0.8.1",
|
2019-05-13 14:15:58 +00:00
|
|
|
"karma": "^4.1.0",
|
|
|
|
"karma-browserify": "^6.0.0",
|
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
2017-01-27 10:29:39 +00:00
|
|
|
"karma-es6-shim": "^1.0.0",
|
2016-08-02 08:59:21 +00:00
|
|
|
"karma-firefox-launcher": "^1.0.0",
|
|
|
|
"karma-html2js-preprocessor": "^1.0.0",
|
2019-06-04 20:21:20 +00:00
|
|
|
"karma-junit-reporter": "^2.0.0",
|
2016-08-02 08:59:21 +00:00
|
|
|
"karma-mocha": "^1.1.1",
|
|
|
|
"karma-script-launcher": "^1.0.0",
|
2015-04-20 16:23:44 +00:00
|
|
|
"loopback-boot": "^2.7.0",
|
2016-07-28 14:36:23 +00:00
|
|
|
"loopback-context": "^1.0.0",
|
2018-08-08 15:22:20 +00:00
|
|
|
"mocha": "^5.2.0",
|
2019-05-13 14:18:50 +00:00
|
|
|
"nyc": "^14.1.1",
|
2018-08-08 15:22:20 +00:00
|
|
|
"sinon": "^6.1.4",
|
|
|
|
"sinon-chai": "^3.2.0",
|
2018-06-12 16:25:28 +00:00
|
|
|
"strong-error-handler": "^3.0.0",
|
2018-08-08 15:22:20 +00:00
|
|
|
"strong-task-emitter": "^0.0.8",
|
2017-02-09 15:17:10 +00:00
|
|
|
"supertest": "^3.0.0"
|
2013-09-04 23:50:47 +00:00
|
|
|
},
|
2013-09-10 23:21:20 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/strongloop/loopback"
|
|
|
|
},
|
2014-02-12 00:01:51 +00:00
|
|
|
"browser": {
|
|
|
|
"express": "./lib/browser-express.js",
|
Middleware phases - initial implementation
Modify the app and router implementation, so that the middleware is
executed in order defined by phases.
Predefined phases:
'initial', 'session', 'auth', 'parse', 'routes', 'files', 'final'
Methods defined via `app.use`, `app.route` and friends are executed
as the first thing in 'routes' phase.
API usage:
app.middleware('initial', compression());
app.middleware('initial:before', serveFavicon());
app.middleware('files:after', loopback.urlNotFound());
app.middleware('final:after', errorHandler());
Middleware flavours:
// regular handler
function handler(req, res, next) {
// do stuff
next();
}
// error handler
function errorHandler(err, req, res, next) {
// handle error and/or call next
next(err);
}
2014-11-05 19:07:58 +00:00
|
|
|
"./lib/server-app.js": "./lib/browser-express.js",
|
2014-02-12 00:01:51 +00:00
|
|
|
"connect": false,
|
2014-12-08 22:59:21 +00:00
|
|
|
"nodemailer": false,
|
2015-03-05 00:30:03 +00:00
|
|
|
"supertest": false,
|
2015-02-26 15:29:29 +00:00
|
|
|
"depd": "loopback-datasource-juggler/lib/browser.depd.js",
|
2014-12-08 22:59:21 +00:00
|
|
|
"bcrypt": false
|
2014-02-12 00:01:51 +00:00
|
|
|
},
|
2016-05-03 08:19:45 +00:00
|
|
|
"config": {
|
|
|
|
"ci": {
|
|
|
|
"debug": "*,-mocha:*,-eslint:*"
|
|
|
|
}
|
|
|
|
},
|
2018-01-03 04:05:53 +00:00
|
|
|
"copyright.owner": "IBM Corp.",
|
2019-05-06 20:10:57 +00:00
|
|
|
"license": "MIT",
|
2019-05-14 07:42:10 +00:00
|
|
|
"author": "IBM Corp.",
|
|
|
|
"ci": {
|
|
|
|
"downstreamIgnoreList": [
|
|
|
|
"bluemix-service-broker",
|
|
|
|
"gateway-director-bluemix",
|
|
|
|
"plan-manager"
|
|
|
|
]
|
|
|
|
}
|
2013-09-05 00:01:42 +00:00
|
|
|
}
|