-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.65 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
{
"name": "koa-x-router",
"version": "0.0.14",
"description": "`koa-x-router` is a library that extends the functionality of `koa-router` by providing validation and automatic API documentation features. It simplifies the process of defining routes, validating request data, and generating API documentation.",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"scripts": {
"test": "jest",
"build": "rm -rf ./dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"prepublish": "npm run build",
"prepublishOnly": "npm run build"
},
"files": [
"dist",
"package.json",
"README.md"
],
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
},
"require": {
"default": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts"
}
}
},
"keywords": [
"koa",
"router",
"validation",
"documentation",
"openapi",
"swagger",
"joi",
"yup",
"ecubelabs"
],
"repository": {
"type": "git",
"url": "[email protected]:Ecube-Labs/koa-x-router.git"
},
"author": "Ecube Labs Co., Ltd.",
"license": "Apache-2.0",
"devDependencies": {
"@ecubelabs/prettier-config": "^0.0.8",
"@ecubelabs/tsconfig": "^1.0.0",
"@types/eslint": "^8",
"@types/jest": "^29.5.2",
"@types/koa": "^2.13.6",
"@types/koa__router": "^12.0.0",
"@types/koa-bodyparser": "^4.3.10",
"@types/prettier": "^2",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.7.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.5.0",
"koa-bodyparser": "^4.4.0",
"prettier": "^3.3.3",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"zod": "^3.23.8"
},
"optionalDependencies": {
"joi": ">=17.0.0",
"zod": ">=3.0.0"
},
"peerDependencies": {
"@koa/router": ">=8.0.0",
"joi": ">=17.0.0",
"koa": "*",
"zod": ">=3.0.0"
},
"peerDependenciesMeta": {
"joi": {
"optional": true
},
"zod": {
"optional": true
}
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^7.1.1",
"joi-to-swagger": "^6.2.0",
"openapi3-ts": "^4.1.2"
}
}