UNPKG

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