• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "version": "9.8.1",
3  "name": "npm",
4  "description": "a package manager for JavaScript",
5  "workspaces": [
6    "docs",
7    "smoke-tests",
8    "mock-globals",
9    "mock-registry",
10    "workspaces/*"
11  ],
12  "files": [
13    "bin/",
14    "lib/",
15    "index.js",
16    "docs/content/",
17    "docs/output/",
18    "man/"
19  ],
20  "keywords": [
21    "install",
22    "modules",
23    "package manager",
24    "package.json"
25  ],
26  "homepage": "https://docs.npmjs.com/",
27  "author": "GitHub Inc.",
28  "repository": {
29    "type": "git",
30    "url": "https://github.com/npm/cli.git"
31  },
32  "bugs": {
33    "url": "https://github.com/npm/cli/issues"
34  },
35  "directories": {
36    "doc": "./doc",
37    "man": "./man"
38  },
39  "main": "./index.js",
40  "bin": {
41    "npm": "bin/npm-cli.js",
42    "npx": "bin/npx-cli.js"
43  },
44  "exports": {
45    ".": [
46      {
47        "default": "./index.js"
48      },
49      "./index.js"
50    ],
51    "./package.json": "./package.json"
52  },
53  "dependencies": {
54    "@isaacs/string-locale-compare": "^1.1.0",
55    "@npmcli/arborist": "^6.3.0",
56    "@npmcli/config": "^6.2.1",
57    "@npmcli/fs": "^3.1.0",
58    "@npmcli/map-workspaces": "^3.0.4",
59    "@npmcli/package-json": "^4.0.1",
60    "@npmcli/promise-spawn": "^6.0.2",
61    "@npmcli/run-script": "^6.0.2",
62    "abbrev": "^2.0.0",
63    "archy": "~1.0.0",
64    "cacache": "^17.1.3",
65    "chalk": "^5.3.0",
66    "ci-info": "^3.8.0",
67    "cli-columns": "^4.0.0",
68    "cli-table3": "^0.6.3",
69    "columnify": "^1.6.0",
70    "fastest-levenshtein": "^1.0.16",
71    "fs-minipass": "^3.0.2",
72    "glob": "^10.2.7",
73    "graceful-fs": "^4.2.11",
74    "hosted-git-info": "^6.1.1",
75    "ini": "^4.1.1",
76    "init-package-json": "^5.0.0",
77    "is-cidr": "^4.0.2",
78    "json-parse-even-better-errors": "^3.0.0",
79    "libnpmaccess": "^7.0.2",
80    "libnpmdiff": "^5.0.19",
81    "libnpmexec": "^6.0.3",
82    "libnpmfund": "^4.0.19",
83    "libnpmhook": "^9.0.3",
84    "libnpmorg": "^5.0.4",
85    "libnpmpack": "^5.0.19",
86    "libnpmpublish": "^7.5.0",
87    "libnpmsearch": "^6.0.2",
88    "libnpmteam": "^5.0.3",
89    "libnpmversion": "^4.0.2",
90    "make-fetch-happen": "^11.1.1",
91    "minimatch": "^9.0.3",
92    "minipass": "^5.0.0",
93    "minipass-pipeline": "^1.2.4",
94    "ms": "^2.1.2",
95    "node-gyp": "^9.4.0",
96    "nopt": "^7.2.0",
97    "npm-audit-report": "^5.0.0",
98    "npm-install-checks": "^6.1.1",
99    "npm-package-arg": "^10.1.0",
100    "npm-pick-manifest": "^8.0.1",
101    "npm-profile": "^7.0.1",
102    "npm-registry-fetch": "^14.0.5",
103    "npm-user-validate": "^2.0.0",
104    "npmlog": "^7.0.1",
105    "p-map": "^4.0.0",
106    "pacote": "^15.2.0",
107    "parse-conflict-json": "^3.0.1",
108    "proc-log": "^3.0.0",
109    "qrcode-terminal": "^0.12.0",
110    "read": "^2.1.0",
111    "semver": "^7.5.4",
112    "sigstore": "^1.7.0",
113    "ssri": "^10.0.4",
114    "supports-color": "^9.4.0",
115    "tar": "^6.1.15",
116    "text-table": "~0.2.0",
117    "tiny-relative-date": "^1.3.0",
118    "treeverse": "^3.0.0",
119    "validate-npm-package-name": "^5.0.0",
120    "which": "^3.0.1",
121    "write-file-atomic": "^5.0.1"
122  },
123  "bundleDependencies": [
124    "@isaacs/string-locale-compare",
125    "@npmcli/arborist",
126    "@npmcli/config",
127    "@npmcli/fs",
128    "@npmcli/map-workspaces",
129    "@npmcli/package-json",
130    "@npmcli/promise-spawn",
131    "@npmcli/run-script",
132    "abbrev",
133    "archy",
134    "cacache",
135    "chalk",
136    "ci-info",
137    "cli-columns",
138    "cli-table3",
139    "columnify",
140    "fastest-levenshtein",
141    "fs-minipass",
142    "glob",
143    "graceful-fs",
144    "hosted-git-info",
145    "ini",
146    "init-package-json",
147    "is-cidr",
148    "json-parse-even-better-errors",
149    "libnpmaccess",
150    "libnpmdiff",
151    "libnpmexec",
152    "libnpmfund",
153    "libnpmhook",
154    "libnpmorg",
155    "libnpmpack",
156    "libnpmpublish",
157    "libnpmsearch",
158    "libnpmteam",
159    "libnpmversion",
160    "make-fetch-happen",
161    "minimatch",
162    "minipass",
163    "minipass-pipeline",
164    "ms",
165    "node-gyp",
166    "nopt",
167    "npm-audit-report",
168    "npm-install-checks",
169    "npm-package-arg",
170    "npm-pick-manifest",
171    "npm-profile",
172    "npm-registry-fetch",
173    "npm-user-validate",
174    "npmlog",
175    "p-map",
176    "pacote",
177    "parse-conflict-json",
178    "proc-log",
179    "qrcode-terminal",
180    "read",
181    "semver",
182    "sigstore",
183    "ssri",
184    "supports-color",
185    "tar",
186    "text-table",
187    "tiny-relative-date",
188    "treeverse",
189    "validate-npm-package-name",
190    "which",
191    "write-file-atomic"
192  ],
193  "devDependencies": {
194    "@npmcli/docs": "^1.0.0",
195    "@npmcli/eslint-config": "^4.0.2",
196    "@npmcli/git": "^4.1.0",
197    "@npmcli/mock-globals": "^1.0.0",
198    "@npmcli/mock-registry": "^1.0.0",
199    "@npmcli/template-oss": "4.18.0",
200    "@tufjs/repo-mock": "^1.3.1",
201    "diff": "^5.1.0",
202    "licensee": "^10.0.0",
203    "nock": "^13.3.0",
204    "npm-packlist": "^7.0.4",
205    "remark": "^14.0.2",
206    "remark-gfm": "^3.0.1",
207    "remark-github": "^11.2.4",
208    "spawk": "^1.7.1",
209    "tap": "^16.3.4"
210  },
211  "scripts": {
212    "dependencies": "node scripts/bundle-and-gitignore-deps.js && node scripts/dependency-graph.js",
213    "dumpconf": "env | grep npm | sort | uniq",
214    "licenses": "licensee --production --errors-only",
215    "test": "tap",
216    "test:nocolor": "CI=true tap -Rclassic",
217    "test-all": "node . run test -ws -iwr --if-present",
218    "snap": "tap",
219    "prepack": "node . run build -w docs",
220    "posttest": "node . run lint",
221    "lint": "eslint \"**/*.js\"",
222    "lintfix": "node . run lint -- --fix",
223    "lint-all": "node . run lint -ws -iwr --if-present",
224    "resetdeps": "node scripts/resetdeps.js",
225    "rp-pull-request": "node scripts/update-authors.js",
226    "postlint": "template-oss-check",
227    "template-oss-apply": "template-oss-apply --force"
228  },
229  "tap": {
230    "test-env": [
231      "LC_ALL=sk"
232    ],
233    "timeout": 600,
234    "nyc-arg": [
235      "--exclude",
236      "docs/**",
237      "--exclude",
238      "smoke-tests/**",
239      "--exclude",
240      "mock-globals/**",
241      "--exclude",
242      "mock-registry/**",
243      "--exclude",
244      "workspaces/**",
245      "--exclude",
246      "tap-snapshots/**"
247    ],
248    "test-ignore": "^(docs|smoke-tests|mock-globals|mock-registry|workspaces)/"
249  },
250  "templateOSS": {
251    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
252    "version": "4.18.0",
253    "content": "./scripts/template-oss/root.js"
254  },
255  "license": "Artistic-2.0",
256  "engines": {
257    "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
258  }
259}
260