-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 2.07 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
{
"name": "koa-context-validator",
"version": "1.0.0",
"description": "A robust context validator for koajs",
"license": "MIT",
"author": "C.T. Lin <chentsulin@gmail.com> (https://github.com/chentsulin/koa-context-validator)",
"repository": "chentsulin/koa-context-validator",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"build": "npm run clean && tsc -p tsconfig.build.json",
"check": "tsc --noEmit",
"clean": "rimraf lib",
"lint": "eslint .",
"prepare": "husky install",
"prepublishOnly": "npm run clean && npm test && npm run build",
"test": "npm run lint && npm run testonly",
"testonly": "jest",
"testonly:cov": "jest --coverage",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"preversion": "npm test"
},
"types": "lib/index.d.ts",
"peerDependencies": {
"joi": ">= 17.4.2"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.4",
"@babel/preset-typescript": "^7.15.0",
"@koa/router": "^10.1.1",
"@types/jest": "^27.0.1",
"@types/koa": "^2.13.4",
"@types/koa-bodyparser": "^4.3.3",
"@types/koa-mount": "^4.0.1",
"@types/koa__router": "^8.0.8",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"husky": "^7.0.2",
"jest": "^27.1.1",
"joi": "^17.4.2",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-compose": "^4.1.0",
"koa-mount": "^4.0.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"prettier-package-json": "^2.6.0",
"rimraf": "^3.0.2",
"supertest": "^6.1.6",
"typescript": "^4.4.2"
},
"keywords": [
"context",
"joi",
"koa",
"middleware",
"validate",
"validator"
],
"engines": {
"node": ">=12"
}
}