alp-body-parser
Version:
body parser in alp framework
76 lines • 1.9 kB
JSON
{
"name": "alp-body-parser",
"version": "10.0.0",
"description": "body parser in alp framework",
"keywords": [
"alp",
"body-parser"
],
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/christophehurpeau/alp.git",
"directory": "packages/alp-body-parser"
},
"homepage": "https://github.com/christophehurpeau/alp",
"bugs": {
"url": "https://github.com/alpjs/alp-body-parser/issues"
},
"type": "module",
"engines": {
"node": ">=20.11.0"
},
"sideEffects": false,
"main": "./dist/index-node20.mjs",
"types": "./dist/definitions/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/definitions/index.d.ts",
"node": {
"import": "./dist/index-node20.mjs"
}
}
},
"files": [
"src",
"dist"
],
"scripts": {
"build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
"build:definitions": "tsc -p tsconfig.json",
"clean": "yarn clean:build",
"clean:build": "pob-babel-clean-out dist",
"lint": "yarn run lint:eslint",
"lint:eslint": "yarn ../.. run eslint --quiet packages/alp-body-parser",
"watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
},
"pob": {
"bundler": "rollup-babel",
"entries": [
"index"
],
"envs": [
{
"target": "node",
"version": "20"
}
]
},
"prettier": "@pob/root/prettier-config",
"peerDependencies": {
"alp-node": "^8.0.0"
},
"dependencies": {
"@types/co-body": "^6.1.3",
"@types/koa": "^3.0.0",
"co-body": "^6.2.0",
"koa": "^3.0.1"
},
"devDependencies": {
"@babel/core": "7.28.0",
"pob-babel": "43.7.0",
"typescript": "5.8.3"
}
}