UNPKG

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