package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "name": "cross-fetch",
  3. "version": "3.1.5",
  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. "prepare": "husky install"
  12. },
  13. "lint-staged": {
  14. "*.js": [
  15. "make build",
  16. "standard --fix"
  17. ]
  18. },
  19. "standard": {
  20. "env": [
  21. "mocha",
  22. "browser"
  23. ],
  24. "globals": [
  25. "expect",
  26. "assert",
  27. "chai"
  28. ],
  29. "ignore": [
  30. "/dist/",
  31. "bundle.js",
  32. "test.js",
  33. "test.*.js",
  34. "api.spec.js",
  35. "*.ts"
  36. ]
  37. },
  38. "mocha": {
  39. "require": [
  40. "chai/register-expect",
  41. "chai/register-assert"
  42. ],
  43. "check-leaks": true
  44. },
  45. "nyc": {
  46. "temp-dir": ".reports/.coverage"
  47. },
  48. "commitlint": {
  49. "extends": [
  50. "@commitlint/config-conventional"
  51. ]
  52. },
  53. "config": {
  54. "commitizen": {
  55. "path": "./node_modules/cz-conventional-changelog"
  56. }
  57. },
  58. "standard-version": {
  59. "skip": {
  60. "changelog": true
  61. }
  62. },
  63. "repository": {
  64. "type": "git",
  65. "url": "https://github.com/lquixada/cross-fetch.git"
  66. },
  67. "author": "Leonardo Quixada <lquixada@gmail.com>",
  68. "license": "MIT",
  69. "bugs": {
  70. "url": "https://github.com/lquixada/cross-fetch/issues"
  71. },
  72. "dependencies": {
  73. "node-fetch": "2.6.7"
  74. },
  75. "devDependencies": {
  76. "@commitlint/cli": "12.0.1",
  77. "@commitlint/config-conventional": "12.0.1",
  78. "@types/chai": "4.2.22",
  79. "@types/mocha": "8.2.2",
  80. "@types/node": "14.14.37",
  81. "body-parser": "1.19.0",
  82. "chai": "4.3.4",
  83. "codecov": "3.8.3",
  84. "cz-conventional-changelog": "3.3.0",
  85. "express": "4.17.1",
  86. "husky": "6.0.0",
  87. "lint-staged": "10.5.4",
  88. "mocha": "8.3.2",
  89. "mocha-headless-chrome": "3.1.0",
  90. "nock": "13.1.3",
  91. "nyc": "15.1.0",
  92. "open-cli": "6.0.1",
  93. "rollup": "2.58.0",
  94. "rollup-plugin-copy": "3.4.0",
  95. "rollup-plugin-terser": "7.0.2",
  96. "semver": "7.3.5",
  97. "serve-index": "1.9.1",
  98. "standard": "16.0.4",
  99. "standard-version": "9.3.1",
  100. "typescript": "4.4.4",
  101. "webpack": "5.58.2",
  102. "webpack-cli": "4.9.0",
  103. "whatwg-fetch": "3.0.0",
  104. "yargs": "16.2.0"
  105. },
  106. "files": [
  107. "dist",
  108. "polyfill",
  109. "index.d.ts"
  110. ],
  111. "keywords": [
  112. "fetch",
  113. "http",
  114. "url",
  115. "promise",
  116. "async",
  117. "await",
  118. "isomorphic",
  119. "universal",
  120. "node",
  121. "react",
  122. "native",
  123. "browser",
  124. "ponyfill",
  125. "whatwg",
  126. "xhr",
  127. "ajax"
  128. ]
  129. }