package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "node-fetch",
  3. "version": "2.6.7",
  4. "description": "A light-weight module that brings window.fetch to node.js",
  5. "main": "lib/index.js",
  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. "dependencies": {
  40. "whatwg-url": "^5.0.0"
  41. },
  42. "peerDependencies": {
  43. "encoding": "^0.1.0"
  44. },
  45. "peerDependenciesMeta": {
  46. "encoding": {
  47. "optional": true
  48. }
  49. },
  50. "devDependencies": {
  51. "@ungap/url-search-params": "^0.1.2",
  52. "abort-controller": "^1.1.0",
  53. "abortcontroller-polyfill": "^1.3.0",
  54. "babel-core": "^6.26.3",
  55. "babel-plugin-istanbul": "^4.1.6",
  56. "babel-preset-env": "^1.6.1",
  57. "babel-register": "^6.16.3",
  58. "chai": "^3.5.0",
  59. "chai-as-promised": "^7.1.1",
  60. "chai-iterator": "^1.1.1",
  61. "chai-string": "~1.3.0",
  62. "codecov": "3.3.0",
  63. "cross-env": "^5.2.0",
  64. "form-data": "^2.3.3",
  65. "is-builtin-module": "^1.0.0",
  66. "mocha": "^5.0.0",
  67. "nyc": "11.9.0",
  68. "parted": "^0.1.1",
  69. "promise": "^8.0.3",
  70. "resumer": "0.0.0",
  71. "rollup": "^0.63.4",
  72. "rollup-plugin-babel": "^3.0.7",
  73. "string-to-arraybuffer": "^1.0.2",
  74. "teeny-request": "3.7.0"
  75. }
  76. }