package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "author": {
  3. "email": "gajus@gajus.com",
  4. "name": "Gajus Kuizinas",
  5. "url": "http://gajus.com"
  6. },
  7. "ava": {
  8. "babel": {
  9. "compileAsTests": [
  10. "test/helpers/**/*"
  11. ]
  12. },
  13. "files": [
  14. "test/global-agent/**/*"
  15. ],
  16. "require": [
  17. "@babel/register"
  18. ]
  19. },
  20. "dependencies": {
  21. "boolean": "^3.0.1",
  22. "es6-error": "^4.1.1",
  23. "matcher": "^3.0.0",
  24. "roarr": "^2.15.3",
  25. "semver": "^7.3.2",
  26. "serialize-error": "^7.0.1"
  27. },
  28. "description": "Global HTTP/HTTPS proxy configurable using environment variables.",
  29. "devDependencies": {
  30. "@ava/babel": "^1.0.1",
  31. "@babel/cli": "^7.10.1",
  32. "@babel/core": "^7.10.2",
  33. "@babel/node": "^7.10.1",
  34. "@babel/plugin-transform-flow-strip-types": "^7.10.1",
  35. "@babel/preset-env": "^7.10.2",
  36. "@babel/register": "^7.10.1",
  37. "anyproxy": "^4.1.2",
  38. "ava": "^3.8.2",
  39. "axios": "^0.19.2",
  40. "babel-plugin-istanbul": "^6.0.0",
  41. "babel-plugin-transform-export-default-name": "^2.0.4",
  42. "coveralls": "^3.1.0",
  43. "eslint": "^7.1.0",
  44. "eslint-config-canonical": "^20.0.5",
  45. "flow-bin": "^0.125.1",
  46. "flow-copy-source": "^2.0.9",
  47. "get-port": "^5.1.1",
  48. "got": "^11.1.4",
  49. "husky": "^4.2.5",
  50. "nyc": "^15.1.0",
  51. "pem": "^1.14.4",
  52. "request": "^2.88.2",
  53. "semantic-release": "^17.0.8",
  54. "sinon": "^9.0.2"
  55. },
  56. "engines": {
  57. "node": ">=10.0"
  58. },
  59. "husky": {
  60. "hooks": {
  61. "pre-commit": "npm run lint && npm run test && npm run build"
  62. }
  63. },
  64. "keywords": [
  65. "http",
  66. "global",
  67. "proxy",
  68. "agent"
  69. ],
  70. "license": "BSD-3-Clause",
  71. "main": "./dist/index.js",
  72. "name": "global-agent",
  73. "nyc": {
  74. "all": true,
  75. "exclude": [
  76. "src/bin",
  77. "src/queries/*.js"
  78. ],
  79. "include": [
  80. "src/**/*.js"
  81. ],
  82. "instrument": false,
  83. "reporter": [
  84. "html",
  85. "text-summary"
  86. ],
  87. "require": [
  88. "@babel/register"
  89. ],
  90. "silent": true,
  91. "sourceMap": false
  92. },
  93. "repository": {
  94. "type": "git",
  95. "url": "https://github.com/gajus/global-agent"
  96. },
  97. "scripts": {
  98. "build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist",
  99. "create-readme": "gitdown ./.README/README.md --output-file ./README.md",
  100. "dev": "NODE_ENV=development babel ./src --out-dir ./dist --copy-files --source-maps --watch",
  101. "lint": "eslint ./src ./test && flow",
  102. "test": "NODE_TLS_REJECT_UNAUTHORIZED=false NODE_ENV=test nyc ava --verbose --serial"
  103. },
  104. "version": "3.0.0"
  105. }