-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 2.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "koa-404-handler",
"description": "404 handler for Lad and Koa (best used with koa-better-error-handler)",
"version": "0.1.0",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"bugs": {
"url": "https://github.com/ladjs/koa-404-handler/issues",
"email": "niftylettuce@gmail.com"
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
],
"dependencies": {},
"devDependencies": {
"ava": "^3.15.0",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"boom": "^7.3.0",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"koa": "^2.13.4",
"koa-router": "^10.1.1",
"lint-staged": "^12.1.2",
"nyc": "^15.1.0",
"prettier": "^2.5.0",
"remark-cli": "^10.0.1",
"remark-preset-github": "^4.0.1",
"supertest": "^6.1.6",
"xo": "^0.47.0"
},
"engines": {
"node": ">=6.4"
},
"homepage": "https://github.com/ladjs/koa-404-handler",
"keywords": [
"lad",
"koa",
"404",
"handler",
"error",
"middleware",
"ctx",
"koa-404-handler",
"lass"
],
"license": "MIT",
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [
"prettier --write --single-quote --trailing-comma none",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
]
},
"main": "lib/index.js",
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ladjs/koa-404-handler"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo",
"precommit": "lint-staged && npm test",
"test": "npm run build && npm run lint && npm run test-coverage",
"test-coverage": "cross-env NODE_ENV=test nyc ava",
"build": "node_modules/.bin/babel src --out-dir lib",
"watch": "node_modules/.bin/babel src --watch --out-dir lib"
},
"xo": {
"extends": "prettier",
"plugins": [
"prettier"
],
"parserOptions": {
"sourceType": "script"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
}
],
"max-len": [
"error",
{
"code": 80,
"ignoreUrls": true
}
],
"capitalized-comments": "off",
"camelcase": "off",
"no-warning-comments": "off",
"unicorn/prefer-module": "off"
},
"space": true
}
}