• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "@npmcli/agent",
3  "version": "2.2.1",
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": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
10    "postlint": "template-oss-check",
11    "template-oss-apply": "template-oss-apply --force",
12    "lintfix": "npm run lint -- --fix",
13    "snap": "tap",
14    "posttest": "npm run lint"
15  },
16  "author": "GitHub Inc.",
17  "license": "ISC",
18  "bugs": {
19    "url": "https://github.com/npm/agent/issues"
20  },
21  "homepage": "https://github.com/npm/agent#readme",
22  "files": [
23    "bin/",
24    "lib/"
25  ],
26  "engines": {
27    "node": "^16.14.0 || >=18.0.0"
28  },
29  "templateOSS": {
30    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
31    "version": "4.21.3",
32    "publish": "true"
33  },
34  "dependencies": {
35    "agent-base": "^7.1.0",
36    "http-proxy-agent": "^7.0.0",
37    "https-proxy-agent": "^7.0.1",
38    "lru-cache": "^10.0.1",
39    "socks-proxy-agent": "^8.0.1"
40  },
41  "devDependencies": {
42    "@npmcli/eslint-config": "^4.0.0",
43    "@npmcli/template-oss": "4.21.3",
44    "minipass-fetch": "^3.0.3",
45    "nock": "^13.2.7",
46    "semver": "^7.5.4",
47    "simple-socks": "^3.1.0",
48    "tap": "^16.3.0"
49  },
50  "repository": {
51    "type": "git",
52    "url": "https://github.com/npm/agent.git"
53  },
54  "tap": {
55    "nyc-arg": [
56      "--exclude",
57      "tap-snapshots/**"
58    ]
59  }
60}
61