package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "cross-fetch",
  3. "version": "4.0.0",
  4. "description": "Universal WHATWG Fetch API for Node, Browsers and React Native",
  5. "homepage": "https://github.com/lquixada/cross-fetch",
  6. "main": "dist/node-ponyfill.js",
  7. "browser": "dist/browser-ponyfill.js",
  8. "react-native": "dist/react-native-ponyfill.js",
  9. "types": "index.d.ts",
  10. "scripts": {
  11. "commit": "cz",
  12. "prepare": "husky install",
  13. "prepublishOnly": "rimraf dist && make dist"
  14. },
  15. "lint-staged": {
  16. "*.js": [
  17. "standard --fix"
  18. ]
  19. },
  20. "config": {
  21. "commitizen": {
  22. "path": "cz-conventional-changelog"
  23. }
  24. },
  25. "standard": {
  26. "env": [
  27. "browser",
  28. "mocha",
  29. "serviceworker"
  30. ],
  31. "globals": [
  32. "expect",
  33. "assert",
  34. "chai",
  35. "Mocha"
  36. ],
  37. "ignore": [
  38. "/dist/",
  39. "api.spec.js",
  40. "bundle.js",
  41. "test.js",
  42. "*.bundle.js",
  43. "*.ts"
  44. ]
  45. },
  46. "mocha": {
  47. "require": [
  48. "chai/register-expect.js",
  49. "chai/register-assert.js"
  50. ],
  51. "check-leaks": true
  52. },
  53. "nyc": {
  54. "temp-dir": ".reports/.coverage"
  55. },
  56. "commitlint": {
  57. "extends": [
  58. "@commitlint/config-conventional"
  59. ]
  60. },
  61. "repository": {
  62. "type": "git",
  63. "url": "https://github.com/lquixada/cross-fetch.git"
  64. },
  65. "author": "Leonardo Quixada <lquixada@gmail.com>",
  66. "license": "MIT",
  67. "bugs": {
  68. "url": "https://github.com/lquixada/cross-fetch/issues"
  69. },
  70. "dependencies": {
  71. "node-fetch": "^2.6.12"
  72. },
  73. "devDependencies": {
  74. "@commitlint/cli": "17.6.6",
  75. "@commitlint/config-conventional": "17.6.6",
  76. "@rollup/plugin-terser": "0.4.3",
  77. "@types/chai": "4.3.5",
  78. "@types/mocha": "10.0.1",
  79. "@types/node": "18.15.13",
  80. "body-parser": "1.20.2",
  81. "chai": "4.3.7",
  82. "codecov": "3.8.3",
  83. "commitizen": "4.3.0",
  84. "cz-conventional-changelog": "3.3.0",
  85. "express": "4.18.2",
  86. "husky": "8.0.3",
  87. "lint-staged": "13.2.3",
  88. "mocha": "10.2.0",
  89. "mocha-headless-chrome": "4.0.0",
  90. "nock": "13.3.1",
  91. "nyc": "15.1.0",
  92. "rimraf": "5.0.1",
  93. "rollup": "3.26.0",
  94. "rollup-plugin-copy": "3.4.0",
  95. "semver": "7.5.3",
  96. "serve-index": "1.9.1",
  97. "standard": "17.1.0",
  98. "standard-version": "9.5.0",
  99. "typescript": "5.1.6",
  100. "webpack": "5.88.1",
  101. "webpack-cli": "5.1.4",
  102. "whatwg-fetch": "3.6.2",
  103. "yargs": "17.7.2"
  104. },
  105. "files": [
  106. "dist",
  107. "polyfill",
  108. "index.d.ts"
  109. ],
  110. "keywords": [
  111. "fetch",
  112. "http",
  113. "url",
  114. "promise",
  115. "async",
  116. "await",
  117. "isomorphic",
  118. "universal",
  119. "node",
  120. "react",
  121. "native",
  122. "browser",
  123. "ponyfill",
  124. "whatwg",
  125. "xhr",
  126. "ajax"
  127. ]
  128. }