package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@npmcli/agent",
  3. "version": "3.0.0",
  4. "description": "the http/https agent used by the npm cli",
  5. "main": "lib/index.js",
  6. "scripts": {
  7. "gencerts": "bash scripts/create-cert.sh",
  8. "test": "tap",
  9. "lint": "npm run eslint",
  10. "postlint": "template-oss-check",
  11. "template-oss-apply": "template-oss-apply --force",
  12. "lintfix": "npm run eslint -- --fix",
  13. "snap": "tap",
  14. "posttest": "npm run lint",
  15. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  16. },
  17. "author": "GitHub Inc.",
  18. "license": "ISC",
  19. "bugs": {
  20. "url": "https://github.com/npm/agent/issues"
  21. },
  22. "homepage": "https://github.com/npm/agent#readme",
  23. "files": [
  24. "bin/",
  25. "lib/"
  26. ],
  27. "engines": {
  28. "node": "^18.17.0 || >=20.5.0"
  29. },
  30. "templateOSS": {
  31. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  32. "version": "4.23.1",
  33. "publish": "true"
  34. },
  35. "dependencies": {
  36. "agent-base": "^7.1.0",
  37. "http-proxy-agent": "^7.0.0",
  38. "https-proxy-agent": "^7.0.1",
  39. "lru-cache": "^10.0.1",
  40. "socks-proxy-agent": "^8.0.3"
  41. },
  42. "devDependencies": {
  43. "@npmcli/eslint-config": "^5.0.0",
  44. "@npmcli/template-oss": "4.23.1",
  45. "minipass-fetch": "^3.0.3",
  46. "nock": "^13.2.7",
  47. "socksv5": "^0.0.6",
  48. "tap": "^16.3.0"
  49. },
  50. "repository": {
  51. "type": "git",
  52. "url": "git+https://github.com/npm/agent.git"
  53. },
  54. "tap": {
  55. "nyc-arg": [
  56. "--exclude",
  57. "tap-snapshots/**"
  58. ]
  59. }
  60. }