80 lines
1.9 KiB
JSON
80 lines
1.9 KiB
JSON
{
|
|
"name": "koa-body",
|
|
"version": "6.0.1",
|
|
"description": "A Koa body parser middleware. Supports multipart, urlencoded and JSON request bodies.",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"files": [
|
|
"lib",
|
|
"LICENSE",
|
|
"README.md",
|
|
"package.json"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run check-format && npm run test && npm run clean && npm run build:typescript",
|
|
"build:typescript": "tsc --build tsconfig.build.json",
|
|
"clean": "rimraf lib",
|
|
"format": "prettier -w .",
|
|
"check-format": "prettier --check .",
|
|
"prepack": "npm run build",
|
|
"test": "mocha",
|
|
"examples-multer": "node examples/multer.js",
|
|
"examples-koa-router": "node examples/koa-router.js"
|
|
},
|
|
"author": {
|
|
"name": "Daryl Lau",
|
|
"email": "dlau00@gmail.com",
|
|
"url": "https://github.com/dlau"
|
|
},
|
|
"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.0",
|
|
"@types/formidable": "^2.0.5",
|
|
"@types/koa": "^2.13.5",
|
|
"co-body": "^6.1.0",
|
|
"formidable": "^2.0.1",
|
|
"zod": "^3.19.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/koa-router": "^7.4.4",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/sinon": "^10.0.13",
|
|
"@types/supertest": "^2.0.12",
|
|
"koa": "^2.13.4",
|
|
"koa-router": "^12.0.0",
|
|
"mocha": "10.1.0",
|
|
"prettier": "^2.7.1",
|
|
"rimraf": "^3.0.2",
|
|
"should": "13.2.3",
|
|
"sinon": "^14.0.1",
|
|
"supertest": "6.3.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.8.4"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Daryl Lau",
|
|
"email": "dlau00@gmail.com",
|
|
"url": "https://github.com/dlau"
|
|
},
|
|
{
|
|
"name": "Charlike Mike Reagent",
|
|
"email": "mameto_100@mail.bg",
|
|
"url": "https://github.com/tunnckoCore"
|
|
}
|
|
],
|
|
"license": "MIT"
|
|
}
|