1{ 2 "version": "10.5.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": "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.2.1", 56 "@npmcli/config": "^8.0.2", 57 "@npmcli/fs": "^3.1.0", 58 "@npmcli/map-workspaces": "^3.0.4", 59 "@npmcli/package-json": "^5.0.0", 60 "@npmcli/promise-spawn": "^7.0.1", 61 "@npmcli/run-script": "^7.0.4", 62 "@sigstore/tuf": "^2.3.1", 63 "abbrev": "^2.0.0", 64 "archy": "~1.0.0", 65 "cacache": "^18.0.2", 66 "chalk": "^5.3.0", 67 "ci-info": "^4.0.0", 68 "cli-columns": "^4.0.0", 69 "cli-table3": "^0.6.3", 70 "columnify": "^1.6.0", 71 "fastest-levenshtein": "^1.0.16", 72 "fs-minipass": "^3.0.3", 73 "glob": "^10.3.10", 74 "graceful-fs": "^4.2.11", 75 "hosted-git-info": "^7.0.1", 76 "ini": "^4.1.1", 77 "init-package-json": "^6.0.0", 78 "is-cidr": "^5.0.3", 79 "json-parse-even-better-errors": "^3.0.1", 80 "libnpmaccess": "^8.0.1", 81 "libnpmdiff": "^6.0.3", 82 "libnpmexec": "^7.0.4", 83 "libnpmfund": "^5.0.1", 84 "libnpmhook": "^10.0.0", 85 "libnpmorg": "^6.0.1", 86 "libnpmpack": "^6.0.3", 87 "libnpmpublish": "^9.0.2", 88 "libnpmsearch": "^7.0.0", 89 "libnpmteam": "^6.0.0", 90 "libnpmversion": "^5.0.1", 91 "make-fetch-happen": "^13.0.0", 92 "minimatch": "^9.0.3", 93 "minipass": "^7.0.4", 94 "minipass-pipeline": "^1.2.4", 95 "ms": "^2.1.2", 96 "node-gyp": "^10.0.1", 97 "nopt": "^7.2.0", 98 "normalize-package-data": "^6.0.0", 99 "npm-audit-report": "^5.0.0", 100 "npm-install-checks": "^6.3.0", 101 "npm-package-arg": "^11.0.1", 102 "npm-pick-manifest": "^9.0.0", 103 "npm-profile": "^9.0.0", 104 "npm-registry-fetch": "^16.1.0", 105 "npm-user-validate": "^2.0.0", 106 "npmlog": "^7.0.1", 107 "p-map": "^4.0.0", 108 "pacote": "^17.0.6", 109 "parse-conflict-json": "^3.0.1", 110 "proc-log": "^3.0.0", 111 "qrcode-terminal": "^0.12.0", 112 "read": "^2.1.0", 113 "semver": "^7.6.0", 114 "spdx-expression-parse": "^3.0.1", 115 "ssri": "^10.0.5", 116 "supports-color": "^9.4.0", 117 "tar": "^6.2.0", 118 "text-table": "~0.2.0", 119 "tiny-relative-date": "^1.3.0", 120 "treeverse": "^3.0.0", 121 "validate-npm-package-name": "^5.0.0", 122 "which": "^4.0.0", 123 "write-file-atomic": "^5.0.1" 124 }, 125 "bundleDependencies": [ 126 "@isaacs/string-locale-compare", 127 "@npmcli/arborist", 128 "@npmcli/config", 129 "@npmcli/fs", 130 "@npmcli/map-workspaces", 131 "@npmcli/package-json", 132 "@npmcli/promise-spawn", 133 "@npmcli/run-script", 134 "@sigstore/tuf", 135 "abbrev", 136 "archy", 137 "cacache", 138 "chalk", 139 "ci-info", 140 "cli-columns", 141 "cli-table3", 142 "columnify", 143 "fastest-levenshtein", 144 "fs-minipass", 145 "glob", 146 "graceful-fs", 147 "hosted-git-info", 148 "ini", 149 "init-package-json", 150 "is-cidr", 151 "json-parse-even-better-errors", 152 "libnpmaccess", 153 "libnpmdiff", 154 "libnpmexec", 155 "libnpmfund", 156 "libnpmhook", 157 "libnpmorg", 158 "libnpmpack", 159 "libnpmpublish", 160 "libnpmsearch", 161 "libnpmteam", 162 "libnpmversion", 163 "make-fetch-happen", 164 "minimatch", 165 "minipass", 166 "minipass-pipeline", 167 "ms", 168 "node-gyp", 169 "nopt", 170 "normalize-package-data", 171 "npm-audit-report", 172 "npm-install-checks", 173 "npm-package-arg", 174 "npm-pick-manifest", 175 "npm-profile", 176 "npm-registry-fetch", 177 "npm-user-validate", 178 "npmlog", 179 "p-map", 180 "pacote", 181 "parse-conflict-json", 182 "proc-log", 183 "qrcode-terminal", 184 "read", 185 "semver", 186 "spdx-expression-parse", 187 "ssri", 188 "supports-color", 189 "tar", 190 "text-table", 191 "tiny-relative-date", 192 "treeverse", 193 "validate-npm-package-name", 194 "which", 195 "write-file-atomic" 196 ], 197 "devDependencies": { 198 "@npmcli/docs": "^1.0.0", 199 "@npmcli/eslint-config": "^4.0.2", 200 "@npmcli/git": "^5.0.4", 201 "@npmcli/mock-globals": "^1.0.0", 202 "@npmcli/mock-registry": "^1.0.0", 203 "@npmcli/template-oss": "4.21.3", 204 "@tufjs/repo-mock": "^2.0.0", 205 "ajv": "^8.12.0", 206 "ajv-formats": "^2.1.1", 207 "ajv-formats-draft2019": "^1.6.1", 208 "diff": "^5.2.0", 209 "licensee": "^10.0.0", 210 "nock": "^13.4.0", 211 "npm-packlist": "^8.0.2", 212 "remark": "^14.0.2", 213 "remark-gfm": "^3.0.1", 214 "remark-github": "^11.2.4", 215 "spawk": "^1.7.1", 216 "tap": "^16.3.9" 217 }, 218 "scripts": { 219 "dependencies": "node scripts/bundle-and-gitignore-deps.js && node scripts/dependency-graph.js", 220 "dumpconf": "env | grep npm | sort | uniq", 221 "licenses": "licensee --production --errors-only", 222 "test": "tap", 223 "test:nocolor": "CI=true tap -Rclassic", 224 "test-all": "node . run test -ws -iwr --if-present", 225 "snap": "tap", 226 "prepack": "node . run build -w docs", 227 "posttest": "node . run lint", 228 "lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"", 229 "lintfix": "node . run lint -- --fix", 230 "lint-all": "node . run lint -ws -iwr --if-present", 231 "resetdeps": "node scripts/resetdeps.js", 232 "rp-pull-request": "node scripts/update-authors.js", 233 "postlint": "template-oss-check", 234 "template-oss-apply": "template-oss-apply --force" 235 }, 236 "tap": { 237 "test-env": [ 238 "LC_ALL=sk" 239 ], 240 "timeout": 600, 241 "nyc-arg": [ 242 "--exclude", 243 "docs/**", 244 "--exclude", 245 "smoke-tests/**", 246 "--exclude", 247 "mock-globals/**", 248 "--exclude", 249 "mock-registry/**", 250 "--exclude", 251 "workspaces/**", 252 "--exclude", 253 "tap-snapshots/**" 254 ], 255 "test-ignore": "^(docs|smoke-tests|mock-globals|mock-registry|workspaces)/" 256 }, 257 "templateOSS": { 258 "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", 259 "version": "4.21.3", 260 "content": "./scripts/template-oss/root.js" 261 }, 262 "license": "Artistic-2.0", 263 "engines": { 264 "node": "^18.17.0 || >=20.5.0" 265 } 266} 267