package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "http2-wrapper",
  3. "version": "2.2.0",
  4. "description": "HTTP2 client, just with the familiar `https` API",
  5. "main": "source",
  6. "types": "index.d.ts",
  7. "engines": {
  8. "node": ">=10.19.0"
  9. },
  10. "scripts": {
  11. "test": "xo && nyc --reporter=lcovonly --reporter=text --reporter=html ava && tsd"
  12. },
  13. "files": [
  14. "source",
  15. "index.d.ts"
  16. ],
  17. "keywords": [
  18. "http2",
  19. "https",
  20. "http",
  21. "request"
  22. ],
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/szmarczak/http2-wrapper.git"
  26. },
  27. "author": "Szymon Marczak",
  28. "license": "MIT",
  29. "bugs": {
  30. "url": "https://github.com/szmarczak/http2-wrapper/issues"
  31. },
  32. "homepage": "https://github.com/szmarczak/http2-wrapper#readme",
  33. "dependencies": {
  34. "quick-lru": "^5.1.1",
  35. "resolve-alpn": "^1.2.0"
  36. },
  37. "devDependencies": {
  38. "@sindresorhus/is": "^4.0.1",
  39. "ava": "^3.15.0",
  40. "benchmark": "^2.1.4",
  41. "get-stream": "^6.0.1",
  42. "got": "^11.8.2",
  43. "http2-proxy": "^5.0.53",
  44. "https-proxy-agent": "^5.0.0",
  45. "lolex": "^6.0.0",
  46. "many-keys-map": "^1.0.3",
  47. "nyc": "^15.1.0",
  48. "p-event": "^4.2.0",
  49. "tempy": "^1.0.1",
  50. "to-readable-stream": "^2.1.0",
  51. "tsd": "^0.17.0",
  52. "websocket-stream": "^5.5.2",
  53. "ws": "^7.5.3",
  54. "xo": "0.39.1"
  55. },
  56. "ava": {
  57. "timeout": "10s"
  58. },
  59. "nyc": {
  60. "include": [
  61. "source"
  62. ]
  63. },
  64. "xo": {
  65. "rules": {
  66. "unicorn/no-for-loop": "off",
  67. "unicorn/prefer-module": "off",
  68. "comma-dangle": "off",
  69. "@typescript-eslint/comma-dangle": "off",
  70. "quotes": [
  71. "error",
  72. "single",
  73. {
  74. "avoidEscape": true,
  75. "allowTemplateLiterals": true
  76. }
  77. ],
  78. "operator-linebreak": ["error", "before"]
  79. }
  80. }
  81. }