1 | {
|
2 | "name": "got",
|
3 | "version": "12.0.4",
|
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": "./dist/source/index.js",
|
10 | "engines": {
|
11 | "node": ">=14.16"
|
12 | },
|
13 | "scripts": {
|
14 | "test": "xo && ava",
|
15 | "release": "np",
|
16 | "build": "del-cli dist && tsc",
|
17 | "prepare": "npm run build"
|
18 | },
|
19 | "files": [
|
20 | "dist/source"
|
21 | ],
|
22 | "keywords": [
|
23 | "http",
|
24 | "https",
|
25 | "http2",
|
26 | "get",
|
27 | "got",
|
28 | "url",
|
29 | "uri",
|
30 | "request",
|
31 | "simple",
|
32 | "curl",
|
33 | "wget",
|
34 | "fetch",
|
35 | "net",
|
36 | "network",
|
37 | "gzip",
|
38 | "brotli",
|
39 | "requests",
|
40 | "human-friendly",
|
41 | "axios",
|
42 | "superagent",
|
43 | "node-fetch",
|
44 | "ky"
|
45 | ],
|
46 | "dependencies": {
|
47 | "@sindresorhus/is": "^4.6.0",
|
48 | "@szmarczak/http-timer": "^5.0.1",
|
49 | "@types/cacheable-request": "^6.0.2",
|
50 | "@types/responselike": "^1.0.0",
|
51 | "cacheable-lookup": "^6.0.4",
|
52 | "cacheable-request": "^7.0.2",
|
53 | "decompress-response": "^6.0.0",
|
54 | "form-data-encoder": "1.7.1",
|
55 | "get-stream": "^6.0.1",
|
56 | "http2-wrapper": "^2.1.10",
|
57 | "lowercase-keys": "^3.0.0",
|
58 | "p-cancelable": "^3.0.0",
|
59 | "responselike": "^2.0.0"
|
60 | },
|
61 | "devDependencies": {
|
62 | "@hapi/bourne": "^2.0.0",
|
63 | "@sindresorhus/tsconfig": "^2.0.0",
|
64 | "@sinonjs/fake-timers": "^9.1.1",
|
65 | "@types/benchmark": "^2.1.1",
|
66 | "@types/express": "^4.17.13",
|
67 | "@types/node": "^17.0.21",
|
68 | "@types/pem": "^1.9.6",
|
69 | "@types/pify": "^5.0.1",
|
70 | "@types/readable-stream": "^2.3.13",
|
71 | "@types/request": "^2.48.8",
|
72 | "@types/sinon": "^10.0.11",
|
73 | "@types/sinonjs__fake-timers": "^8.1.1",
|
74 | "@types/tough-cookie": "^4.0.1",
|
75 | "ava": "^3.15.0",
|
76 | "axios": "^0.26.1",
|
77 | "benchmark": "^2.1.4",
|
78 | "bluebird": "^3.7.2",
|
79 | "body-parser": "^1.19.2",
|
80 | "create-cert": "^1.0.6",
|
81 | "create-test-server": "^3.0.1",
|
82 | "del-cli": "^4.0.1",
|
83 | "delay": "^5.0.0",
|
84 | "express": "^4.17.3",
|
85 | "form-data": "^4.0.0",
|
86 | "formdata-node": "^4.3.2",
|
87 | "nock": "^13.2.4",
|
88 | "node-fetch": "^3.2.3",
|
89 | "np": "^7.6.0",
|
90 | "nyc": "^15.1.0",
|
91 | "p-event": "^5.0.1",
|
92 | "pem": "^1.14.6",
|
93 | "pify": "^5.0.0",
|
94 | "readable-stream": "^3.6.0",
|
95 | "request": "^2.88.2",
|
96 | "sinon": "^13.0.1",
|
97 | "slow-stream": "0.0.4",
|
98 | "tempy": "^2.0.0",
|
99 | "then-busboy": "^5.1.1",
|
100 | "to-readable-stream": "^3.0.0",
|
101 | "tough-cookie": "^4.0.0",
|
102 | "ts-node": "^10.7.0",
|
103 | "typescript": "4.6.2",
|
104 | "xo": "^0.48.0"
|
105 | },
|
106 | "types": "dist/source",
|
107 | "sideEffects": false,
|
108 | "ava": {
|
109 | "files": [
|
110 | "test/*"
|
111 | ],
|
112 | "timeout": "1m",
|
113 | "nonSemVerExperiments": {
|
114 | "nextGenConfig": true,
|
115 | "configurableModuleFormat": true
|
116 | },
|
117 | "extensions": {
|
118 | "ts": "module"
|
119 | },
|
120 | "nodeArguments": [
|
121 | "--loader=ts-node/esm"
|
122 | ]
|
123 | },
|
124 | "nyc": {
|
125 | "reporter": [
|
126 | "text",
|
127 | "html",
|
128 | "lcov"
|
129 | ],
|
130 | "extension": [
|
131 | ".ts"
|
132 | ],
|
133 | "exclude": [
|
134 | "**/test/**"
|
135 | ]
|
136 | },
|
137 | "xo": {
|
138 | "ignores": [
|
139 | "documentation/examples/*"
|
140 | ],
|
141 | "rules": {
|
142 | "@typescript-eslint/no-empty-function": "off",
|
143 | "node/no-deprecated-api": "off",
|
144 | "node/prefer-global/url": "off",
|
145 | "node/prefer-global/url-search-params": "off",
|
146 | "@typescript-eslint/no-implicit-any-catch": "off",
|
147 | "unicorn/prefer-node-protocol": "off",
|
148 | "ava/assertion-arguments": "off",
|
149 | "@typescript-eslint/no-unsafe-member-access": "off",
|
150 | "@typescript-eslint/no-unsafe-return": "off",
|
151 | "@typescript-eslint/no-unsafe-assignment": "off",
|
152 | "@typescript-eslint/no-unsafe-call": "off",
|
153 | "@typescript-eslint/await-thenable": "off",
|
154 | "no-lone-blocks": "off",
|
155 | "unicorn/no-await-expression-member": "off"
|
156 | }
|
157 | },
|
158 | "runkitExampleFilename": "./documentation/examples/runkit-example.js"
|
159 | }
|