-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.29 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.29 KB
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
{
"name": "koa-body",
"version": "7.0.1",
"description": "A Koa body parser middleware. Supports multipart, urlencoded and JSON request bodies.",
"files": [
"dist"
],
"scripts": {
"release": "pnpm build && pnpm changeset publish",
"build": "pnpm clean && pnpm lint && pnpm test && tshy && tshy-after && attw --pack",
"fix": "biome check --fix",
"clean": "rm -rf dist",
"lint": "tsc --noEmit && biome check",
"test": "node --import tsx --test **/*.test.ts",
"examples-multer": "tsx examples/multer.ts",
"examples-koa-router": "tsx examples/koa-router.ts",
"examples-multipart": "tsx examples/multipart.ts"
},
"repository": {
"type": "git",
"url": "git://github.com/koajs/koa-body.git"
},
"keywords": [
"koa",
"urlencoded",
"multipart",
"json",
"body",
"parser",
"form"
],
"dependencies": {
"@types/co-body": "^6.1.3",
"@types/formidable": "^3.4.6",
"@types/koa": "^3.0.0",
"co-body": "^6.2.0",
"formidable": "^3.5.4",
"type-fest": "^5.3.1",
"zod": "^4.1.12"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@biomejs/biome": "^2.2.7",
"@changesets/cli": "^2.29.7",
"@changesets/changelog-github": "^0.5.1",
"@koa/router": "^14.0.0",
"@tsconfig/node22": "^22.0.2",
"@tsconfig/strictest": "^2.0.6",
"@types/koa__router": "^12.0.4",
"@types/supertest": "^6.0.3",
"koa": "^3.0.3",
"supertest": "7.1.4",
"tshy": "^3.0.3",
"tshy-after": "^1.4.1",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
},
"packageManager": "[email protected]",
"license": "MIT",
"type": "module",
"tshy": {
"exclude": [
"src/**/*.test.ts"
],
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js",
"pnpm": {
"onlyBuiltDependencies": [
"@biomejs/biome",
"esbuild"
]
}
}