UNPKG

1.94 kBJSONView Raw
1{
2 "name": "node-fetch",
3 "version": "2.6.0",
4 "description": "A light-weight module that brings window.fetch to node.js",
5 "main": "lib/index",
6 "browser": "./browser.js",
7 "module": "lib/index.mjs",
8 "files": [
9 "lib/index.js",
10 "lib/index.mjs",
11 "lib/index.es.js",
12 "browser.js"
13 ],
14 "engines": {
15 "node": "4.x || >=6.0.0"
16 },
17 "scripts": {
18 "build": "cross-env BABEL_ENV=rollup rollup -c",
19 "prepare": "npm run build",
20 "test": "cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js",
21 "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js",
22 "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json"
23 },
24 "repository": {
25 "type": "git",
26 "url": "https://github.com/bitinn/node-fetch.git"
27 },
28 "keywords": [
29 "fetch",
30 "http",
31 "promise"
32 ],
33 "author": "David Frank",
34 "license": "MIT",
35 "bugs": {
36 "url": "https://github.com/bitinn/node-fetch/issues"
37 },
38 "homepage": "https://github.com/bitinn/node-fetch",
39 "devDependencies": {
40 "@ungap/url-search-params": "^0.1.2",
41 "abort-controller": "^1.1.0",
42 "abortcontroller-polyfill": "^1.3.0",
43 "babel-core": "^6.26.3",
44 "babel-plugin-istanbul": "^4.1.6",
45 "babel-preset-env": "^1.6.1",
46 "babel-register": "^6.16.3",
47 "chai": "^3.5.0",
48 "chai-as-promised": "^7.1.1",
49 "chai-iterator": "^1.1.1",
50 "chai-string": "~1.3.0",
51 "codecov": "^3.3.0",
52 "cross-env": "^5.2.0",
53 "form-data": "^2.3.3",
54 "is-builtin-module": "^1.0.0",
55 "mocha": "^5.0.0",
56 "nyc": "11.9.0",
57 "parted": "^0.1.1",
58 "promise": "^8.0.3",
59 "resumer": "0.0.0",
60 "rollup": "^0.63.4",
61 "rollup-plugin-babel": "^3.0.7",
62 "string-to-arraybuffer": "^1.0.2",
63 "whatwg-url": "^5.0.0"
64 },
65 "dependencies": {}
66}