2013-04-09 16:02:36 +00:00
|
|
|
{
|
2013-07-16 17:49:25 +00:00
|
|
|
"name": "loopback",
|
2015-12-22 08:43:09 +00:00
|
|
|
"version": "3.0.0-alpha.1",
|
2016-01-19 13:49:23 +00:00
|
|
|
"publishConfig": {
|
2015-12-22 13:01:29 +00:00
|
|
|
"tag": "next"
|
|
|
|
},
|
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": {
|
2014-06-23 12:44:19 +00:00
|
|
|
"test": "grunt mocha-and-karma"
|
2013-04-09 16:02:36 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2015-03-05 00:30:03 +00:00
|
|
|
"async": "^0.9.0",
|
|
|
|
"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
|
|
|
"continuation-local-storage": "^3.1.3",
|
2015-11-10 00:31:11 +00:00
|
|
|
"cookie-parser": "^1.3.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",
|
2015-07-05 17:20:34 +00:00
|
|
|
"errorhandler": "^1.3.4",
|
2015-03-05 00:30:03 +00:00
|
|
|
"express": "^4.12.2",
|
|
|
|
"inflection": "^1.6.0",
|
|
|
|
"loopback-connector-remote": "^1.0.3",
|
2016-01-06 14:38:32 +00:00
|
|
|
"loopback-datasource-juggler": "^3.0.0-alpha.1",
|
2014-12-10 08:36:45 +00:00
|
|
|
"loopback-phase": "^1.2.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"nodemailer": "^1.3.1",
|
|
|
|
"nodemailer-stub-transport": "^0.1.5",
|
|
|
|
"serve-favicon": "^2.2.0",
|
2014-12-15 07:14:26 +00:00
|
|
|
"stable": "^0.1.5",
|
2016-01-13 21:38:37 +00:00
|
|
|
"strong-remoting": "^3.0.0-alpha.1",
|
2013-11-20 21:31:30 +00:00
|
|
|
"uid2": "0.0.3",
|
2015-03-05 00:30:03 +00:00
|
|
|
"underscore.string": "^3.0.3"
|
2013-04-09 16:02:36 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2015-05-04 16:29:50 +00:00
|
|
|
"browserify": "^10.0.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"chai": "^2.1.1",
|
|
|
|
"es5-shim": "^4.1.0",
|
2016-04-01 09:14:26 +00:00
|
|
|
"eslint-config-loopback": "^1.0.0",
|
2014-10-30 20:49:47 +00:00
|
|
|
"grunt": "^0.4.5",
|
2015-03-05 00:30:03 +00:00
|
|
|
"grunt-browserify": "^3.5.0",
|
2014-06-23 12:44:19 +00:00
|
|
|
"grunt-cli": "^0.1.13",
|
2015-05-04 16:29:50 +00:00
|
|
|
"grunt-contrib-uglify": "^0.9.1",
|
2015-03-05 00:30:03 +00:00
|
|
|
"grunt-contrib-watch": "^0.6.1",
|
2016-04-01 09:14:26 +00:00
|
|
|
"grunt-eslint": "^18.0.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"grunt-karma": "^0.10.1",
|
|
|
|
"grunt-mocha-test": "^0.12.7",
|
|
|
|
"karma": "^0.12.31",
|
|
|
|
"karma-browserify": "^4.0.0",
|
|
|
|
"karma-chrome-launcher": "^0.1.7",
|
|
|
|
"karma-firefox-launcher": "^0.1.4",
|
|
|
|
"karma-html2js-preprocessor": "^0.1.0",
|
2014-06-23 12:44:19 +00:00
|
|
|
"karma-junit-reporter": "^0.2.2",
|
2015-03-05 00:30:03 +00:00
|
|
|
"karma-mocha": "^0.1.10",
|
2016-05-03 14:43:45 +00:00
|
|
|
"karma-phantomjs-launcher": "^1.0.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"karma-script-launcher": "^0.1.0",
|
2015-04-20 16:23:44 +00:00
|
|
|
"loopback-boot": "^2.7.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"mocha": "^2.1.0",
|
2016-05-03 14:43:45 +00:00
|
|
|
"phantomjs-prebuilt": "^2.1.7",
|
2015-03-13 15:50:30 +00:00
|
|
|
"sinon": "^1.13.0",
|
2016-04-27 11:15:24 +00:00
|
|
|
"sinon-chai": "^2.8.0",
|
2015-03-05 00:30:03 +00:00
|
|
|
"strong-task-emitter": "^0.0.6",
|
|
|
|
"supertest": "^0.15.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",
|
2015-03-27 13:45:37 +00:00
|
|
|
"./server/current-context.js": "./browser/current-context.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:*"
|
|
|
|
}
|
|
|
|
},
|
2016-02-18 15:38:54 +00:00
|
|
|
"license": "MIT"
|
2013-09-05 00:01:42 +00:00
|
|
|
}
|