Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
package.json161 linesDownload Raw Back to undici
1{
2  "name": "undici",
3  "version": "6.25.0",
4  "description": "An HTTP/1.1 client, written from scratch for Node.js",
5  "homepage": "https://undici.nodejs.org",
6  "bugs": {
7    "url": "https://github.com/nodejs/undici/issues"
8  },
9  "repository": {
10    "type": "git",
11    "url": "git+https://github.com/nodejs/undici.git"
12  },
13  "license": "MIT",
14  "contributors": [
15    {
16      "name": "Daniele Belardi",
17      "url": "https://github.com/dnlup",
18      "author": true
19    },
20    {
21      "name": "Ethan Arrowood",
22      "url": "https://github.com/ethan-arrowood",
23      "author": true
24    },
25    {
26      "name": "Matteo Collina",
27      "url": "https://github.com/mcollina",
28      "author": true
29    },
30    {
31      "name": "Matthew Aitken",
32      "url": "https://github.com/KhafraDev",
33      "author": true
34    },
35    {
36      "name": "Robert Nagy",
37      "url": "https://github.com/ronag",
38      "author": true
39    },
40    {
41      "name": "Szymon Marczak",
42      "url": "https://github.com/szmarczak",
43      "author": true
44    },
45    {
46      "name": "Tomas Della Vedova",
47      "url": "https://github.com/delvedor",
48      "author": true
49    }
50  ],
51  "keywords": [
52    "fetch",
53    "http",
54    "https",
55    "promise",
56    "request",
57    "curl",
58    "wget",
59    "xhr",
60    "whatwg"
61  ],
62  "main": "index.js",
63  "types": "index.d.ts",
64  "scripts": {
65    "build:node": "npx esbuild@0.19.10 index-fetch.js --bundle --platform=node --outfile=undici-fetch.js --define:esbuildDetection=1 --keep-names && node scripts/strip-comments.js",
66    "prebuild:wasm": "node build/wasm.js --prebuild",
67    "build:wasm": "node build/wasm.js --docker",
68    "lint": "standard | snazzy",
69    "lint:fix": "standard --fix | snazzy",
70    "test": "npm run test:javascript && cross-env NODE_V8_COVERAGE=  npm run test:typescript",
71    "test:javascript": "node scripts/generate-pem && npm run test:unit && npm run test:node-fetch && npm run test:cache && npm run test:interceptors && npm run test:fetch && npm run test:cookies && npm run test:eventsource && npm run test:wpt && npm run test:websocket && npm run test:node-test && npm run test:jest",
72    "test:javascript:withoutintl": "node scripts/generate-pem && npm run test:unit && npm run test:node-fetch && npm run test:fetch:nobuild && npm run test:cache && npm run test:interceptors && npm run test:cookies && npm run test:eventsource:nobuild && npm run test:wpt:withoutintl && npm run test:node-test",
73    "test:busboy": "borp -p \"test/busboy/*.js\"",
74    "test:cache": "borp -p \"test/cache/*.js\"",
75    "test:cookies": "borp -p \"test/cookie/*.js\"",
76    "test:eventsource": "npm run build:node && npm run test:eventsource:nobuild",
77    "test:eventsource:nobuild": "borp --expose-gc -p \"test/eventsource/*.js\"",
78    "test:fuzzing": "node test/fuzzing/fuzzing.test.js",
79    "test:fetch": "npm run build:node && npm run test:fetch:nobuild",
80    "test:fetch:nobuild": "borp --timeout 180000 --expose-gc --concurrency 1 -p \"test/fetch/*.js\" && npm run test:webidl && npm run test:busboy",
81    "test:h2": "npm run test:h2:core && npm run test:h2:fetch",
82    "test:h2:core": "borp -p \"test/http2*.js\"",
83    "test:h2:fetch": "npm run build:node && borp -p \"test/fetch/http2*.js\"",
84    "test:interceptors": "borp -p \"test/interceptors/*.js\"",
85    "test:jest": "cross-env NODE_V8_COVERAGE= jest",
86    "test:unit": "borp --expose-gc -p \"test/*.js\"",
87    "test:node-fetch": "borp -p \"test/node-fetch/**/*.js\"",
88    "test:node-test": "borp -p \"test/node-test/**/*.js\"",
89    "test:tdd": "borp --expose-gc -p \"test/*.js\"",
90    "test:tdd:node-test": "borp -p \"test/node-test/**/*.js\" -w",
91    "test:typescript": "tsd && tsc test/imports/undici-import.ts --typeRoots ./types && tsc ./types/*.d.ts --noEmit --typeRoots ./types",
92    "test:webidl": "borp -p \"test/webidl/*.js\"",
93    "test:websocket": "borp -p \"test/websocket/*.js\"",
94    "test:websocket:autobahn": "node test/autobahn/client.js",
95    "test:websocket:autobahn:report": "node test/autobahn/report.js",
96    "test:wpt": "node test/wpt/start-fetch.mjs && node test/wpt/start-FileAPI.mjs && node test/wpt/start-mimesniff.mjs && node test/wpt/start-xhr.mjs && node test/wpt/start-websockets.mjs && node test/wpt/start-cacheStorage.mjs && node test/wpt/start-eventsource.mjs",
97    "test:wpt:withoutintl": "node test/wpt/start-fetch.mjs && node test/wpt/start-mimesniff.mjs && node test/wpt/start-xhr.mjs && node test/wpt/start-cacheStorage.mjs && node test/wpt/start-eventsource.mjs",
98    "coverage": "npm run coverage:clean && cross-env NODE_V8_COVERAGE=./coverage/tmp npm run test:javascript && npm run coverage:report",
99    "coverage:ci": "npm run coverage:clean && cross-env NODE_V8_COVERAGE=./coverage/tmp npm run test:javascript && npm run coverage:report:ci",
100    "coverage:clean": "node ./scripts/clean-coverage.js",
101    "coverage:report": "cross-env NODE_V8_COVERAGE= c8 report",
102    "coverage:report:ci": "c8 report",
103    "bench": "echo \"Error: Benchmarks have been moved to '/benchmarks'\" && exit 1",
104    "serve:website": "echo \"Error: Documentation has been moved to '/docs'\" && exit 1",
105    "prepare": "husky && node ./scripts/platform-shell.js"
106  },
107  "devDependencies": {
108    "@fastify/busboy": "2.1.1",
109    "@matteo.collina/tspl": "^0.1.1",
110    "@metcoder95/https-pem": "^1.0.0",
111    "@sinonjs/fake-timers": "^11.1.0",
112    "@types/node": "~18.19.50",
113    "abort-controller": "^3.0.0",
114    "borp": "^0.15.0",
115    "c8": "^10.0.0",
116    "cross-env": "^7.0.3",
117    "dns-packet": "^5.4.0",
118    "fast-check": "^3.17.1",
119    "form-data": "^4.0.0",
120    "formdata-node": "^6.0.3",
121    "husky": "^9.0.7",
122    "jest": "^29.0.2",
123    "jsdom": "^24.0.0",
124    "node-forge": "^1.3.1",
125    "pre-commit": "^1.2.2",
126    "proxy": "^2.1.1",
127    "snazzy": "^9.0.0",
128    "standard": "^17.0.0",
129    "tsd": "^0.31.0",
130    "typescript": "^5.0.2",
131    "ws": "^8.11.0"
132  },
133  "engines": {
134    "node": ">=18.17"
135  },
136  "standard": {
137    "env": [
138      "jest"
139    ],
140    "ignore": [
141      "lib/llhttp/constants.js",
142      "lib/llhttp/utils.js",
143      "test/fixtures/wpt"
144    ]
145  },
146  "tsd": {
147    "directory": "test/types",
148    "compilerOptions": {
149      "esModuleInterop": true,
150      "lib": [
151        "esnext"
152      ]
153    }
154  },
155  "jest": {
156    "testMatch": [
157      "<rootDir>/test/jest/**"
158    ]
159  }
160}
161 
codekingpro/portable-devtools · Team Ai