UNPKG

4.25 kBJSONView Raw
1{
2 "name": "@adonisjs/bodyparser",
3 "version": "10.0.2",
4 "description": "BodyParser middleware for AdonisJS http server to read and parse request body",
5 "main": "build/index.js",
6 "type": "module",
7 "files": [
8 "build",
9 "!build/bin",
10 "!build/tests",
11 "!build/tests_helpers"
12 ],
13 "engines": {
14 "node": ">=18.16.0"
15 },
16 "exports": {
17 ".": "./build/index.js",
18 "./factories": "./build/factories/main.js",
19 "./bodyparser_middleware": "./build/src/bodyparser_middleware.js",
20 "./types": "./build/src/types.js"
21 },
22 "scripts": {
23 "pretest": "npm run lint",
24 "test": "cross-env NODE_DEBUG=adonisjs:bodyparser c8 npm run quick:test",
25 "clean": "del-cli build",
26 "typecheck": "tsc --noEmit",
27 "precompile": "npm run lint && npm run clean",
28 "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
29 "build": "npm run compile",
30 "release": "release-it",
31 "version": "npm run build",
32 "format": "prettier --write .",
33 "prepublishOnly": "npm run build",
34 "lint": "eslint . --ext=.ts",
35 "sync-labels": "github-label-sync --labels .github/labels.json adonisjs/bodyparser",
36 "quick:test": "node --loader=ts-node/esm bin/test.ts"
37 },
38 "devDependencies": {
39 "@adonisjs/application": "^8.2.2",
40 "@adonisjs/encryption": "^6.0.2",
41 "@adonisjs/eslint-config": "^1.3.0",
42 "@adonisjs/events": "^9.0.2",
43 "@adonisjs/fold": "^10.1.2",
44 "@adonisjs/http-server": "^7.2.2",
45 "@adonisjs/logger": "^6.0.3",
46 "@adonisjs/prettier-config": "^1.3.0",
47 "@adonisjs/tsconfig": "^1.3.0",
48 "@commitlint/cli": "^19.2.2",
49 "@commitlint/config-conventional": "^19.2.2",
50 "@japa/assert": "^3.0.0",
51 "@japa/file-system": "^2.3.0",
52 "@japa/runner": "^3.1.4",
53 "@poppinss/file-generator": "^2.1.3",
54 "@swc/core": "^1.4.16",
55 "@types/bytes": "^3.1.4",
56 "@types/fs-extra": "^11.0.4",
57 "@types/inflation": "^2.0.4",
58 "@types/media-typer": "^1.1.3",
59 "@types/node": "^20.12.7",
60 "@types/supertest": "^6.0.2",
61 "c8": "^9.1.0",
62 "cross-env": "^7.0.3",
63 "del-cli": "^5.1.0",
64 "eslint": "^8.56.0",
65 "fs-extra": "^11.2.0",
66 "github-label-sync": "^2.3.1",
67 "husky": "^9.0.11",
68 "prettier": "^3.2.5",
69 "reflect-metadata": "^0.2.2",
70 "release-it": "^17.2.0",
71 "supertest": "^6.3.4",
72 "ts-node": "^10.9.2",
73 "tsup": "^8.0.2",
74 "typescript": "^5.4.5",
75 "undici": "^6.13.0"
76 },
77 "dependencies": {
78 "@paralleldrive/cuid2": "^2.2.2",
79 "@poppinss/macroable": "^1.0.2",
80 "@poppinss/multiparty": "^2.0.1",
81 "@poppinss/utils": "^6.7.3",
82 "@types/qs": "^6.9.15",
83 "bytes": "^3.1.2",
84 "file-type": "^19.0.0",
85 "inflation": "^2.1.0",
86 "media-typer": "^1.1.0",
87 "qs": "^6.12.1",
88 "raw-body": "^2.5.2"
89 },
90 "peerDependencies": {
91 "@adonisjs/http-server": "^7.0.2"
92 },
93 "keywords": [
94 "adonisjs",
95 "bodyparser",
96 "multipart"
97 ],
98 "license": "MIT",
99 "author": "virk,adonisjs",
100 "repository": {
101 "type": "git",
102 "url": "git+https://github.com/adonisjs/bodyparser.git"
103 },
104 "bugs": {
105 "url": "https://github.com/adonisjs/bodyparser/issues"
106 },
107 "homepage": "https://github.com/adonisjs/bodyparser#readme",
108 "commitlint": {
109 "extends": [
110 "@commitlint/config-conventional"
111 ]
112 },
113 "publishConfig": {
114 "access": "public",
115 "tag": "latest"
116 },
117 "c8": {
118 "reporter": [
119 "text",
120 "html"
121 ],
122 "exclude": [
123 "tests/**",
124 "test_factories/**",
125 ".yalc/**"
126 ]
127 },
128 "eslintConfig": {
129 "extends": "@adonisjs/eslint-config/package"
130 },
131 "prettier": "@adonisjs/prettier-config",
132 "tsup": {
133 "entry": [
134 "./index.ts",
135 "./src/types.ts",
136 "./src/bodyparser_middleware.ts",
137 "./factories/main.ts"
138 ],
139 "outDir": "./build",
140 "clean": true,
141 "format": "esm",
142 "dts": false,
143 "sourcemap": true,
144 "target": "esnext"
145 },
146 "release-it": {
147 "git": {
148 "commitMessage": "chore(release): ${version}",
149 "tagAnnotation": "v${version}",
150 "tagName": "v${version}"
151 },
152 "hooks": {
153 "before:init": [
154 "npm test"
155 ]
156 },
157 "github": {
158 "release": true,
159 "releaseName": "v${version}",
160 "web": true
161 }
162 }
163}