|
| 1 | +{ |
| 2 | + "name": "koa-404-handler", |
| 3 | + "description": |
| 4 | + "404 handler for Lad and Koa (best used with koa-better-error-handler)", |
| 5 | + "version": "0.0.1", |
| 6 | + "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", |
| 7 | + "bugs": { |
| 8 | + "url": "https://github.com/ladjs/koa-404-handler/issues", |
| 9 | + "email": "niftylettuce@gmail.com" |
| 10 | + }, |
| 11 | + "contributors": [ |
| 12 | + "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)" |
| 13 | + ], |
| 14 | + "dependencies": {}, |
| 15 | + "devDependencies": { |
| 16 | + "ava": "^0.22.0", |
| 17 | + "codecov": "^2.3.0", |
| 18 | + "cross-env": "^5.0.5", |
| 19 | + "eslint": "^4.5.0", |
| 20 | + "eslint-config-prettier": "^2.3.0", |
| 21 | + "eslint-plugin-prettier": "^2.2.0", |
| 22 | + "husky": "^0.14.3", |
| 23 | + "lint-staged": "^4.0.4", |
| 24 | + "nyc": "^11.1.0", |
| 25 | + "prettier": "^1.6.1", |
| 26 | + "remark-cli": "^4.0.0", |
| 27 | + "remark-preset-github": "^0.0.6", |
| 28 | + "xo": "^0.19.0" |
| 29 | + }, |
| 30 | + "engines": { |
| 31 | + "node": ">=6.4" |
| 32 | + }, |
| 33 | + "homepage": "https://github.com/ladjs/koa-404-handler", |
| 34 | + "keywords": [ |
| 35 | + "lad", |
| 36 | + "koa", |
| 37 | + "404", |
| 38 | + "handler", |
| 39 | + "error", |
| 40 | + "middleware", |
| 41 | + "ctx", |
| 42 | + "koa-404-handler", |
| 43 | + "lass" |
| 44 | + ], |
| 45 | + "license": "MIT", |
| 46 | + "lint-staged": { |
| 47 | + "*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [ |
| 48 | + "prettier --write --single-quote --trailing-comma none", |
| 49 | + "git add" |
| 50 | + ], |
| 51 | + "*.md": ["remark . -qfo", "git add"] |
| 52 | + }, |
| 53 | + "main": "index.js", |
| 54 | + "remarkConfig": { |
| 55 | + "plugins": ["preset-github"] |
| 56 | + }, |
| 57 | + "repository": { |
| 58 | + "type": "git", |
| 59 | + "url": "https://github.com/ladjs/koa-404-handler" |
| 60 | + }, |
| 61 | + "scripts": { |
| 62 | + "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
| 63 | + "lint": "xo && remark . -qfo", |
| 64 | + "precommit": "lint-staged && npm test", |
| 65 | + "test": "npm run lint && npm run test-coverage", |
| 66 | + "test-coverage": "cross-env NODE_ENV=test nyc ava" |
| 67 | + }, |
| 68 | + "xo": { |
| 69 | + "extends": "prettier", |
| 70 | + "plugins": ["prettier"], |
| 71 | + "parserOptions": { |
| 72 | + "sourceType": "script" |
| 73 | + }, |
| 74 | + "rules": { |
| 75 | + "prettier/prettier": [ |
| 76 | + "error", |
| 77 | + { |
| 78 | + "singleQuote": true, |
| 79 | + "bracketSpacing": true, |
| 80 | + "trailingComma": "none" |
| 81 | + } |
| 82 | + ], |
| 83 | + "max-len": [ |
| 84 | + "error", |
| 85 | + { |
| 86 | + "code": 80, |
| 87 | + "ignoreUrls": true |
| 88 | + } |
| 89 | + ], |
| 90 | + "capitalized-comments": "off", |
| 91 | + "camelcase": "off", |
| 92 | + "no-warning-comments": "off" |
| 93 | + }, |
| 94 | + "space": true |
| 95 | + } |
| 96 | +} |
0 commit comments