-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.03 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
{
"name": "@yoctol/koa-final-handler",
"version": "1.0.1",
"description": "Final handler middleware for koa.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/yoctol/koa-final-handler"
},
"main": "index.js",
"files": [
"index.d.ts"
],
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:staged": "lint-staged",
"prepare": "husky install",
"test": "npm run lint && npm run testonly",
"testonly": "jest"
},
"types": "index.d.ts",
"dependencies": {
"http-status": "^1.5.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/preset-env": "^7.15.0",
"@types/koa": "^2.13.4",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-yoctol-base": "^0.24.1",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"http-errors": "^1.8.0",
"husky": "^6.0.0",
"jest": "^27.1.0",
"joi": "^17.4.2",
"koa-compose": "^4.1.0",
"koa-context-validator": "^1.0.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"prettier-package-json": "^2.6.0",
"typescript": "^4.4.2"
},
"keywords": [
"final-handler",
"handler",
"koa",
"middleware"
],
"engines": {
"node": ">=12"
},
"jest": {
"setupFiles": [
"./test/configure-env.js"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"node_modules/"
]
},
"lint-staged": {
"*.{json,md}": [
"prettier --write"
],
"*.js": [
"eslint --fix"
],
"package.json": [
"prettier-package-json --write",
"prettier --write"
],
".babelrc": [
"prettier --parser json --write"
]
}
}