koa-omnibus
Version:
Base middleware for `koa` servers.
83 lines (82 loc) • 2.4 kB
JSON
{
"name": "koa-omnibus",
"version": "1.0.0-rc3",
"description": "Base middleware for `koa` servers.",
"author": "Tor E Hagemann <tor.hagemann@gmail.com>",
"license": "MIT",
"main": "index.js",
"dependencies": {
"@hapi/boom": "9.1.2",
"debug": "4.3.1",
"koa": "2.13.1",
"koa-pino-logger": "3.0.0",
"koa-router": "10.0.0",
"lodash": "4.17.21",
"lru-cache": "6.0.0",
"pino": "6.11.3",
"pino-caller": "3.1.0",
"pino-debug": "2.0.0",
"pino-pretty": "5.0.2",
"uuid": "8.3.2"
},
"devDependencies": {
"cross-env": "7.0.3",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-mocha": "9.0.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.4.0",
"mocha": "9.0.0",
"nyc": "15.1.0",
"prettier": "2.3.1",
"serve": "12.0.0",
"supertest": "6.1.3"
},
"engines": {
"node": ">=8"
},
"eslintIgnore": [
"coverage/**/*.js",
"!.eslintrc.js"
],
"keywords": [
"koa",
"omnibus",
"middleware"
],
"prettier": {
"endOfLine": "lf",
"printWidth": 128,
"quoteProps": "consistent",
"singleQuote": true,
"semi": false,
"trailingComma": "all",
"useTabs": true
},
"repository": {
"type": "git",
"url": "https://github.com/hagemt/node-koa-omnibus.git"
},
"scripts": {
"bump": "npm run sane -- $(npm outdated --parseable | cut -d: -f4)",
"cleanup": "npm run sane && npm run prune && npm run bump",
"precoverage": "nyc -- npm run mocha",
"coverage": "nyc report --reporter=lcov --reporter=html",
"postcoverage": "nyc check-coverage",
"demo": "cross-env LOG_LEVEL=trace node demo | pino-pretty",
"demo:routers": "node demo/routers.js | pino-pretty",
"eslint": "eslint --report-unused-disable-directives .eslintrc.js *.js",
"eslint:fix": "npm run eslint -- --fix",
"mocha": "cross-env LOG_LEVEL=fatal mocha tests.js",
"prepublishOnly": "npm run cleanup && npm test && git clean -dix",
"prune": "npm prune --no-audit --no-fund --quiet",
"prereport": "npm run eslint:fix",
"report": "npm run coverage",
"postreport": "npm run eslint -- --max-warnings=0",
"sane": "npm install --no-audit --no-fund --quiet",
"server": "npm run demo:routers",
"start": "npm run server",
"test": "npm run report"
}
}