UNPKG

alp-body-parser

Version:
77 lines 1.94 kB
{ "name": "alp-body-parser", "version": "12.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": ">=22.18.0" }, "sideEffects": false, "main": "./dist/index-node.mjs", "types": "./dist/definitions/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/definitions/index.d.ts", "node": { "import": "./dist/index-node.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-esbuild-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-esbuild", "entries": [ "index" ], "envs": [ { "target": "node", "version": "22", "omitVersionInFileName": true } ], "typescript": true }, "prettier": "@pob/root/prettier-config", "peerDependencies": { "alp-node": "^10.0.0" }, "dependencies": { "@types/co-body": "^6.1.3", "@types/koa": "^3.0.0", "co-body": "^6.2.0", "koa": "^3.0.1" }, "devDependencies": { "@pob/rollup-esbuild": "7.3.2", "typescript": "5.9.3" } }