1 | {
|
2 | "name": "node-fetch",
|
3 | "version": "3.1.0",
|
4 | "description": "A light-weight module that brings Fetch API to node.js",
|
5 | "main": "./src/index.js",
|
6 | "sideEffects": false,
|
7 | "type": "module",
|
8 | "files": [
|
9 | "src",
|
10 | "@types/index.d.ts"
|
11 | ],
|
12 | "types": "./@types/index.d.ts",
|
13 | "engines": {
|
14 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
15 | },
|
16 | "scripts": {
|
17 | "test": "mocha",
|
18 | "coverage": "c8 report --reporter=text-lcov | coveralls",
|
19 | "test-types": "tsd",
|
20 | "lint": "xo"
|
21 | },
|
22 | "repository": {
|
23 | "type": "git",
|
24 | "url": "https://github.com/node-fetch/node-fetch.git"
|
25 | },
|
26 | "keywords": [
|
27 | "fetch",
|
28 | "http",
|
29 | "promise",
|
30 | "request",
|
31 | "curl",
|
32 | "wget",
|
33 | "xhr",
|
34 | "whatwg"
|
35 | ],
|
36 | "author": "David Frank",
|
37 | "license": "MIT",
|
38 | "bugs": {
|
39 | "url": "https://github.com/node-fetch/node-fetch/issues"
|
40 | },
|
41 | "homepage": "https://github.com/node-fetch/node-fetch",
|
42 | "funding": {
|
43 | "type": "opencollective",
|
44 | "url": "https://opencollective.com/node-fetch"
|
45 | },
|
46 | "devDependencies": {
|
47 | "abort-controller": "^3.0.0",
|
48 | "abortcontroller-polyfill": "^1.7.1",
|
49 | "busboy": "^0.3.1",
|
50 | "c8": "^7.7.2",
|
51 | "chai": "^4.3.4",
|
52 | "chai-as-promised": "^7.1.1",
|
53 | "chai-iterator": "^3.0.2",
|
54 | "chai-string": "^1.5.0",
|
55 | "coveralls": "^3.1.0",
|
56 | "delay": "^5.0.0",
|
57 | "form-data": "^4.0.0",
|
58 | "formdata-node": "^4.2.4",
|
59 | "mocha": "^9.1.3",
|
60 | "p-timeout": "^5.0.0",
|
61 | "tsd": "^0.14.0",
|
62 | "xo": "^0.39.1"
|
63 | },
|
64 | "dependencies": {
|
65 | "data-uri-to-buffer": "^4.0.0",
|
66 | "formdata-polyfill": "^4.0.10",
|
67 | "fetch-blob": "^3.1.2"
|
68 | },
|
69 | "tsd": {
|
70 | "cwd": "@types",
|
71 | "compilerOptions": {
|
72 | "esModuleInterop": true
|
73 | }
|
74 | },
|
75 | "xo": {
|
76 | "envs": [
|
77 | "node",
|
78 | "browser"
|
79 | ],
|
80 | "ignores": [
|
81 | "example.js"
|
82 | ],
|
83 | "rules": {
|
84 | "complexity": 0,
|
85 | "import/extensions": 0,
|
86 | "import/no-useless-path-segments": 0,
|
87 | "import/no-anonymous-default-export": 0,
|
88 | "import/no-named-as-default": 0,
|
89 | "unicorn/import-index": 0,
|
90 | "unicorn/no-array-reduce": 0,
|
91 | "unicorn/prefer-node-protocol": 0,
|
92 | "unicorn/numeric-separators-style": 0,
|
93 | "unicorn/explicit-length-check": 0,
|
94 | "capitalized-comments": 0,
|
95 | "node/no-unsupported-features/es-syntax": 0,
|
96 | "@typescript-eslint/member-ordering": 0
|
97 | },
|
98 | "overrides": [
|
99 | {
|
100 | "files": "test/**/*.js",
|
101 | "envs": [
|
102 | "node",
|
103 | "mocha"
|
104 | ],
|
105 | "rules": {
|
106 | "max-nested-callbacks": 0,
|
107 | "no-unused-expressions": 0,
|
108 | "no-warning-comments": 0,
|
109 | "new-cap": 0,
|
110 | "guard-for-in": 0,
|
111 | "unicorn/no-array-for-each": 0,
|
112 | "unicorn/prevent-abbreviations": 0,
|
113 | "promise/prefer-await-to-then": 0,
|
114 | "ava/no-import-test-files": 0
|
115 | }
|
116 | }
|
117 | ]
|
118 | },
|
119 | "runkitExampleFilename": "example.js"
|
120 | }
|