UNPKG

3.54 kBJSONView Raw
1{
2 "name": "got",
3 "version": "14.4.2",
4 "description": "Human-friendly and powerful HTTP request library for Node.js",
5 "license": "MIT",
6 "repository": "sindresorhus/got",
7 "funding": "https://github.com/sindresorhus/got?sponsor=1",
8 "type": "module",
9 "exports": {
10 "types": "./dist/source/index.d.ts",
11 "default": "./dist/source/index.js"
12 },
13 "sideEffects": false,
14 "engines": {
15 "node": ">=20"
16 },
17 "scripts": {
18 "test": "xo && tsc --noEmit && NODE_OPTIONS='--import=tsx/esm' ava",
19 "release": "np",
20 "build": "del-cli dist && tsc",
21 "prepare": "npm run build"
22 },
23 "files": [
24 "dist/source"
25 ],
26 "keywords": [
27 "http",
28 "https",
29 "http2",
30 "get",
31 "got",
32 "url",
33 "uri",
34 "request",
35 "simple",
36 "curl",
37 "wget",
38 "fetch",
39 "net",
40 "network",
41 "gzip",
42 "brotli",
43 "requests",
44 "human-friendly",
45 "axios",
46 "superagent",
47 "node-fetch",
48 "ky"
49 ],
50 "dependencies": {
51 "@sindresorhus/is": "^7.0.0",
52 "@szmarczak/http-timer": "^5.0.1",
53 "cacheable-lookup": "^7.0.0",
54 "cacheable-request": "^12.0.1",
55 "decompress-response": "^6.0.0",
56 "form-data-encoder": "^4.0.2",
57 "http2-wrapper": "^2.2.1",
58 "lowercase-keys": "^3.0.0",
59 "p-cancelable": "^4.0.1",
60 "responselike": "^3.0.0",
61 "type-fest": "^4.19.0"
62 },
63 "devDependencies": {
64 "@hapi/bourne": "^3.0.0",
65 "@sindresorhus/tsconfig": "^5.0.0",
66 "@sinonjs/fake-timers": "^11.2.2",
67 "@types/benchmark": "^2.1.5",
68 "@types/express": "^4.17.21",
69 "@types/node": "^20.12.12",
70 "@types/pem": "^1.14.4",
71 "@types/readable-stream": "^4.0.14",
72 "@types/request": "^2.48.12",
73 "@types/sinon": "^17.0.2",
74 "@types/sinonjs__fake-timers": "^8.1.5",
75 "ava": "^5.3.1",
76 "axios": "^1.6.8",
77 "benchmark": "^2.1.4",
78 "bluebird": "^3.7.2",
79 "body-parser": "^1.20.2",
80 "create-cert": "^1.0.6",
81 "create-test-server": "^3.0.1",
82 "del-cli": "^5.1.0",
83 "delay": "^6.0.0",
84 "expect-type": "^0.19.0",
85 "express": "^4.19.2",
86 "form-data": "^4.0.0",
87 "formdata-node": "^6.0.3",
88 "get-stream": "^9.0.1",
89 "nock": "^13.5.4",
90 "node-fetch": "^3.3.2",
91 "np": "^10.0.5",
92 "nyc": "^15.1.0",
93 "p-event": "^6.0.1",
94 "pem": "^1.14.8",
95 "pify": "^6.1.0",
96 "readable-stream": "^4.4.2",
97 "request": "^2.88.2",
98 "sinon": "^18.0.0",
99 "slow-stream": "0.0.4",
100 "tempy": "^3.1.0",
101 "then-busboy": "^5.2.1",
102 "tough-cookie": "^4.1.4",
103 "tsx": "^4.10.4",
104 "typescript": "^5.4.5",
105 "xo": "^0.56.0"
106 },
107 "ava": {
108 "files": [
109 "test/*",
110 "!test/*.types.ts"
111 ],
112 "timeout": "10m",
113 "extensions": {
114 "ts": "module"
115 },
116 "workerThreads": false
117 },
118 "nyc": {
119 "reporter": [
120 "text",
121 "html",
122 "lcov"
123 ],
124 "extension": [
125 ".ts"
126 ],
127 "exclude": [
128 "**/test/**"
129 ]
130 },
131 "xo": {
132 "ignores": [
133 "documentation/examples/*"
134 ],
135 "rules": {
136 "@typescript-eslint/no-empty-function": "off",
137 "n/no-deprecated-api": "off",
138 "@typescript-eslint/no-implicit-any-catch": "off",
139 "ava/assertion-arguments": "off",
140 "@typescript-eslint/no-unsafe-member-access": "off",
141 "@typescript-eslint/no-unsafe-return": "off",
142 "@typescript-eslint/no-unsafe-assignment": "off",
143 "@typescript-eslint/no-unsafe-call": "off",
144 "@typescript-eslint/await-thenable": "off",
145 "@typescript-eslint/no-redundant-type-constituents": "off",
146 "@typescript-eslint/no-unsafe-argument": "off",
147 "@typescript-eslint/promise-function-async": "off",
148 "no-lone-blocks": "off",
149 "unicorn/no-await-expression-member": "off",
150 "unicorn/prefer-event-target": "off"
151 }
152 },
153 "runkitExampleFilename": "./documentation/examples/runkit-example.js"
154}