1 | {
|
2 | "version": "10.8.0",
|
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": "git+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": "^7.5.2",
|
56 | "@npmcli/config": "^8.3.2",
|
57 | "@npmcli/fs": "^3.1.1",
|
58 | "@npmcli/map-workspaces": "^3.0.6",
|
59 | "@npmcli/package-json": "^5.1.0",
|
60 | "@npmcli/promise-spawn": "^7.0.2",
|
61 | "@npmcli/redact": "^2.0.0",
|
62 | "@npmcli/run-script": "^8.1.0",
|
63 | "@sigstore/tuf": "^2.3.3",
|
64 | "abbrev": "^2.0.0",
|
65 | "archy": "~1.0.0",
|
66 | "cacache": "^18.0.3",
|
67 | "chalk": "^5.3.0",
|
68 | "ci-info": "^4.0.0",
|
69 | "cli-columns": "^4.0.0",
|
70 | "fastest-levenshtein": "^1.0.16",
|
71 | "fs-minipass": "^3.0.3",
|
72 | "glob": "^10.3.15",
|
73 | "graceful-fs": "^4.2.11",
|
74 | "hosted-git-info": "^7.0.2",
|
75 | "ini": "^4.1.2",
|
76 | "init-package-json": "^6.0.3",
|
77 | "is-cidr": "^5.0.5",
|
78 | "json-parse-even-better-errors": "^3.0.2",
|
79 | "libnpmaccess": "^8.0.6",
|
80 | "libnpmdiff": "^6.1.2",
|
81 | "libnpmexec": "^8.1.1",
|
82 | "libnpmfund": "^5.0.10",
|
83 | "libnpmhook": "^10.0.5",
|
84 | "libnpmorg": "^6.0.6",
|
85 | "libnpmpack": "^7.0.2",
|
86 | "libnpmpublish": "^9.0.8",
|
87 | "libnpmsearch": "^7.0.5",
|
88 | "libnpmteam": "^6.0.5",
|
89 | "libnpmversion": "^6.0.2",
|
90 | "make-fetch-happen": "^13.0.1",
|
91 | "minimatch": "^9.0.4",
|
92 | "minipass": "^7.1.1",
|
93 | "minipass-pipeline": "^1.2.4",
|
94 | "ms": "^2.1.2",
|
95 | "node-gyp": "^10.1.0",
|
96 | "nopt": "^7.2.1",
|
97 | "normalize-package-data": "^6.0.1",
|
98 | "npm-audit-report": "^5.0.0",
|
99 | "npm-install-checks": "^6.3.0",
|
100 | "npm-package-arg": "^11.0.2",
|
101 | "npm-pick-manifest": "^9.0.1",
|
102 | "npm-profile": "^10.0.0",
|
103 | "npm-registry-fetch": "^17.0.1",
|
104 | "npm-user-validate": "^2.0.1",
|
105 | "p-map": "^4.0.0",
|
106 | "pacote": "^18.0.6",
|
107 | "parse-conflict-json": "^3.0.1",
|
108 | "proc-log": "^4.2.0",
|
109 | "qrcode-terminal": "^0.12.0",
|
110 | "read": "^3.0.1",
|
111 | "semver": "^7.6.2",
|
112 | "spdx-expression-parse": "^4.0.0",
|
113 | "ssri": "^10.0.6",
|
114 | "supports-color": "^9.4.0",
|
115 | "tar": "^6.2.1",
|
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.1",
|
120 | "which": "^4.0.0",
|
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/redact",
|
132 | "@npmcli/run-script",
|
133 | "@sigstore/tuf",
|
134 | "abbrev",
|
135 | "archy",
|
136 | "cacache",
|
137 | "chalk",
|
138 | "ci-info",
|
139 | "cli-columns",
|
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 | "normalize-package-data",
|
168 | "npm-audit-report",
|
169 | "npm-install-checks",
|
170 | "npm-package-arg",
|
171 | "npm-pick-manifest",
|
172 | "npm-profile",
|
173 | "npm-registry-fetch",
|
174 | "npm-user-validate",
|
175 | "p-map",
|
176 | "pacote",
|
177 | "parse-conflict-json",
|
178 | "proc-log",
|
179 | "qrcode-terminal",
|
180 | "read",
|
181 | "semver",
|
182 | "spdx-expression-parse",
|
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": "^5.0.7",
|
197 | "@npmcli/mock-globals": "^1.0.0",
|
198 | "@npmcli/mock-registry": "^1.0.0",
|
199 | "@npmcli/template-oss": "4.22.0",
|
200 | "@tufjs/repo-mock": "^2.0.0",
|
201 | "ajv": "^8.12.0",
|
202 | "ajv-formats": "^2.1.1",
|
203 | "ajv-formats-draft2019": "^1.6.1",
|
204 | "cli-table3": "^0.6.4",
|
205 | "diff": "^5.2.0",
|
206 | "nock": "^13.4.0",
|
207 | "npm-packlist": "^8.0.2",
|
208 | "remark": "^14.0.2",
|
209 | "remark-gfm": "^3.0.1",
|
210 | "remark-github": "^11.2.4",
|
211 | "rimraf": "^5.0.5",
|
212 | "spawk": "^1.7.1",
|
213 | "tap": "^16.3.9"
|
214 | },
|
215 | "scripts": {
|
216 | "dependencies": "node scripts/bundle-and-gitignore-deps.js && node scripts/dependency-graph.js",
|
217 | "dumpconf": "env | grep npm | sort | uniq",
|
218 | "licenses": "npx licensee --production --errors-only",
|
219 | "test": "tap",
|
220 | "test:nocolor": "CI=true tap -Rclassic",
|
221 | "test-all": "node . run test -ws -iwr --if-present",
|
222 | "snap": "tap",
|
223 | "prepack": "node . run build -w docs",
|
224 | "posttest": "node . run lint",
|
225 | "lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
|
226 | "lintfix": "node . run lint -- --fix",
|
227 | "lint-all": "node . run lint -ws -iwr --if-present",
|
228 | "resetdeps": "node scripts/resetdeps.js",
|
229 | "rp-pull-request": "node scripts/update-authors.js",
|
230 | "postlint": "template-oss-check",
|
231 | "template-oss-apply": "template-oss-apply --force"
|
232 | },
|
233 | "tap": {
|
234 | "test-env": [
|
235 | "LC_ALL=sk"
|
236 | ],
|
237 | "timeout": 600,
|
238 | "nyc-arg": [
|
239 | "--exclude",
|
240 | "docs/**",
|
241 | "--exclude",
|
242 | "smoke-tests/**",
|
243 | "--exclude",
|
244 | "mock-globals/**",
|
245 | "--exclude",
|
246 | "mock-registry/**",
|
247 | "--exclude",
|
248 | "workspaces/**",
|
249 | "--exclude",
|
250 | "tap-snapshots/**"
|
251 | ],
|
252 | "test-ignore": "^(docs|smoke-tests|mock-globals|mock-registry|workspaces)/"
|
253 | },
|
254 | "templateOSS": {
|
255 | "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
256 | "version": "4.22.0",
|
257 | "content": "./scripts/template-oss/root.js"
|
258 | },
|
259 | "license": "Artistic-2.0",
|
260 | "engines": {
|
261 | "node": "^18.17.0 || >=20.5.0"
|
262 | }
|
263 | }
|