package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "name": "got",
  3. "version": "11.8.6",
  4. "description": "Human-friendly and powerful HTTP request library for Node.js",
  5. "license": "MIT",
  6. "repository": "sindresorhus/got",
  7. "funding": "https://github.com/sindresorhus/got?sponsor=1",
  8. "main": "dist/source",
  9. "engines": {
  10. "node": ">=10.19.0"
  11. },
  12. "scripts": {
  13. "test": "xo && npm run build && nyc --reporter=html --reporter=text ava",
  14. "release": "np",
  15. "build": "del-cli dist && tsc",
  16. "prepare": "npm run build"
  17. },
  18. "files": [
  19. "dist/source"
  20. ],
  21. "keywords": [
  22. "http",
  23. "https",
  24. "http2",
  25. "get",
  26. "got",
  27. "url",
  28. "uri",
  29. "request",
  30. "simple",
  31. "curl",
  32. "wget",
  33. "fetch",
  34. "net",
  35. "network",
  36. "gzip",
  37. "brotli",
  38. "requests",
  39. "human-friendly",
  40. "axios",
  41. "superagent",
  42. "node-fetch",
  43. "ky"
  44. ],
  45. "dependencies": {
  46. "@sindresorhus/is": "^4.0.0",
  47. "@szmarczak/http-timer": "^4.0.5",
  48. "@types/cacheable-request": "^6.0.1",
  49. "@types/responselike": "^1.0.0",
  50. "cacheable-lookup": "^5.0.3",
  51. "cacheable-request": "^7.0.2",
  52. "decompress-response": "^6.0.0",
  53. "http2-wrapper": "^1.0.0-beta.5.2",
  54. "lowercase-keys": "^2.0.0",
  55. "p-cancelable": "^2.0.0",
  56. "responselike": "^2.0.0"
  57. },
  58. "devDependencies": {
  59. "@ava/typescript": "^1.1.1",
  60. "@sindresorhus/tsconfig": "^0.7.0",
  61. "@sinonjs/fake-timers": "^6.0.1",
  62. "@types/benchmark": "^1.0.33",
  63. "@types/express": "^4.17.7",
  64. "@types/express-serve-static-core": "4.17.18 - 4.17.30",
  65. "@types/node": "^14.14.0",
  66. "@types/node-fetch": "^2.5.7",
  67. "@types/pem": "^1.9.5",
  68. "@types/pify": "^3.0.2",
  69. "@types/request": "^2.48.5",
  70. "@types/sinon": "^9.0.5",
  71. "@types/tough-cookie": "^4.0.0",
  72. "ava": "^3.11.1",
  73. "axios": "^0.20.0",
  74. "benchmark": "^2.1.4",
  75. "coveralls": "^3.1.0",
  76. "create-test-server": "^3.0.1",
  77. "del-cli": "^3.0.1",
  78. "delay": "^4.4.0",
  79. "express": "^4.17.1",
  80. "form-data": "^3.0.0",
  81. "get-stream": "^6.0.0",
  82. "nock": "^13.0.4",
  83. "node-fetch": "^2.6.0",
  84. "np": "^6.4.0",
  85. "nyc": "^15.1.0",
  86. "p-event": "^4.2.0",
  87. "pem": "^1.14.4",
  88. "pify": "^5.0.0",
  89. "sinon": "^9.0.3",
  90. "slow-stream": "0.0.4",
  91. "tempy": "^1.0.0",
  92. "to-readable-stream": "^2.1.0",
  93. "tough-cookie": "^4.0.0",
  94. "typescript": "4.0.3",
  95. "xo": "^0.34.1"
  96. },
  97. "types": "dist/source",
  98. "sideEffects": false,
  99. "ava": {
  100. "files": [
  101. "test/*"
  102. ],
  103. "timeout": "1m",
  104. "typescript": {
  105. "rewritePaths": {
  106. "test/": "dist/test/"
  107. }
  108. }
  109. },
  110. "nyc": {
  111. "extension": [
  112. ".ts"
  113. ],
  114. "exclude": [
  115. "**/test/**"
  116. ]
  117. },
  118. "xo": {
  119. "ignores": [
  120. "documentation/examples/*"
  121. ],
  122. "rules": {
  123. "@typescript-eslint/no-empty-function": "off",
  124. "node/prefer-global/url": "off",
  125. "node/prefer-global/url-search-params": "off",
  126. "import/no-anonymous-default-export": "off",
  127. "@typescript-eslint/no-implicit-any-catch": "off"
  128. }
  129. },
  130. "runkitExampleFilename": "./documentation/examples/runkit-example.js"
  131. }