package.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. {
  2. "version": "8.1.2",
  3. "name": "npm",
  4. "description": "a package manager for JavaScript",
  5. "workspaces": [
  6. "docs",
  7. "packages/*"
  8. ],
  9. "files": [
  10. "index.js",
  11. "bin",
  12. "docs/content/**/*.md",
  13. "docs/output/**/*.html",
  14. "lib",
  15. "man"
  16. ],
  17. "keywords": [
  18. "install",
  19. "modules",
  20. "package manager",
  21. "package.json"
  22. ],
  23. "preferGlobal": true,
  24. "config": {
  25. "publishtest": false
  26. },
  27. "homepage": "https://docs.npmjs.com/",
  28. "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
  29. "repository": {
  30. "type": "git",
  31. "url": "https://github.com/npm/cli"
  32. },
  33. "bugs": {
  34. "url": "https://github.com/npm/cli/issues"
  35. },
  36. "directories": {
  37. "bin": "./bin",
  38. "doc": "./doc",
  39. "lib": "./lib",
  40. "man": "./man"
  41. },
  42. "main": "./index.js",
  43. "bin": {
  44. "npm": "bin/npm-cli.js",
  45. "npx": "bin/npx-cli.js"
  46. },
  47. "exports": {
  48. ".": [
  49. {
  50. "default": "./index.js"
  51. },
  52. "./index.js"
  53. ],
  54. "./package.json": "./package.json"
  55. },
  56. "dependencies": {
  57. "@isaacs/string-locale-compare": "^1.1.0",
  58. "@npmcli/arborist": "^4.0.3",
  59. "@npmcli/ci-detect": "^1.4.0",
  60. "@npmcli/config": "^2.3.0",
  61. "@npmcli/map-workspaces": "^2.0.0",
  62. "@npmcli/package-json": "^1.0.1",
  63. "@npmcli/run-script": "^2.0.0",
  64. "abbrev": "~1.1.1",
  65. "ansicolors": "~0.3.2",
  66. "ansistyles": "~0.1.3",
  67. "archy": "~1.0.0",
  68. "cacache": "^15.3.0",
  69. "chalk": "^4.1.2",
  70. "chownr": "^2.0.0",
  71. "cli-columns": "^4.0.0",
  72. "cli-table3": "^0.6.0",
  73. "columnify": "~1.5.4",
  74. "fastest-levenshtein": "^1.0.12",
  75. "glob": "^7.2.0",
  76. "graceful-fs": "^4.2.8",
  77. "hosted-git-info": "^4.0.2",
  78. "ini": "^2.0.0",
  79. "init-package-json": "^2.0.5",
  80. "is-cidr": "^4.0.2",
  81. "json-parse-even-better-errors": "^2.3.1",
  82. "libnpmaccess": "^4.0.2",
  83. "libnpmdiff": "^2.0.4",
  84. "libnpmexec": "^3.0.1",
  85. "libnpmfund": "^2.0.1",
  86. "libnpmhook": "^6.0.2",
  87. "libnpmorg": "^2.0.2",
  88. "libnpmpack": "^3.0.0",
  89. "libnpmpublish": "^4.0.1",
  90. "libnpmsearch": "^3.1.1",
  91. "libnpmteam": "^2.0.3",
  92. "libnpmversion": "^2.0.1",
  93. "make-fetch-happen": "^9.1.0",
  94. "minipass": "^3.1.3",
  95. "minipass-pipeline": "^1.2.4",
  96. "mkdirp": "^1.0.4",
  97. "mkdirp-infer-owner": "^2.0.0",
  98. "ms": "^2.1.2",
  99. "node-gyp": "^8.3.0",
  100. "nopt": "^5.0.0",
  101. "npm-audit-report": "^2.1.5",
  102. "npm-install-checks": "^4.0.0",
  103. "npm-package-arg": "^8.1.5",
  104. "npm-pick-manifest": "^6.1.1",
  105. "npm-profile": "^5.0.3",
  106. "npm-registry-fetch": "^11.0.0",
  107. "npm-user-validate": "^1.0.1",
  108. "npmlog": "^5.0.1",
  109. "opener": "^1.5.2",
  110. "pacote": "^12.0.2",
  111. "parse-conflict-json": "^1.1.1",
  112. "qrcode-terminal": "^0.12.0",
  113. "read": "~1.0.7",
  114. "read-package-json": "^4.1.1",
  115. "read-package-json-fast": "^2.0.3",
  116. "readdir-scoped-modules": "^1.1.0",
  117. "rimraf": "^3.0.2",
  118. "semver": "^7.3.5",
  119. "ssri": "^8.0.1",
  120. "tar": "^6.1.11",
  121. "text-table": "~0.2.0",
  122. "tiny-relative-date": "^1.3.0",
  123. "treeverse": "^1.0.4",
  124. "validate-npm-package-name": "~3.0.0",
  125. "which": "^2.0.2",
  126. "write-file-atomic": "^3.0.3"
  127. },
  128. "bundleDependencies": [
  129. "@isaacs/string-locale-compare",
  130. "@npmcli/arborist",
  131. "@npmcli/ci-detect",
  132. "@npmcli/config",
  133. "@npmcli/map-workspaces",
  134. "@npmcli/package-json",
  135. "@npmcli/run-script",
  136. "abbrev",
  137. "ansicolors",
  138. "ansistyles",
  139. "archy",
  140. "cacache",
  141. "chalk",
  142. "chownr",
  143. "cli-columns",
  144. "cli-table3",
  145. "columnify",
  146. "fastest-levenshtein",
  147. "glob",
  148. "graceful-fs",
  149. "hosted-git-info",
  150. "ini",
  151. "init-package-json",
  152. "is-cidr",
  153. "json-parse-even-better-errors",
  154. "libnpmaccess",
  155. "libnpmdiff",
  156. "libnpmexec",
  157. "libnpmfund",
  158. "libnpmhook",
  159. "libnpmorg",
  160. "libnpmpack",
  161. "libnpmpublish",
  162. "libnpmsearch",
  163. "libnpmteam",
  164. "libnpmversion",
  165. "make-fetch-happen",
  166. "minipass",
  167. "minipass-pipeline",
  168. "mkdirp",
  169. "mkdirp-infer-owner",
  170. "ms",
  171. "node-gyp",
  172. "nopt",
  173. "npm-audit-report",
  174. "npm-install-checks",
  175. "npm-package-arg",
  176. "npm-pick-manifest",
  177. "npm-profile",
  178. "npm-registry-fetch",
  179. "npm-user-validate",
  180. "npmlog",
  181. "opener",
  182. "pacote",
  183. "parse-conflict-json",
  184. "qrcode-terminal",
  185. "read",
  186. "read-package-json",
  187. "read-package-json-fast",
  188. "readdir-scoped-modules",
  189. "rimraf",
  190. "semver",
  191. "ssri",
  192. "tar",
  193. "text-table",
  194. "tiny-relative-date",
  195. "treeverse",
  196. "validate-npm-package-name",
  197. "which",
  198. "write-file-atomic"
  199. ],
  200. "devDependencies": {
  201. "eslint": "^7.31.0",
  202. "eslint-plugin-import": "^2.23.4",
  203. "eslint-plugin-node": "^11.1.0",
  204. "eslint-plugin-promise": "^5.1.0",
  205. "eslint-plugin-standard": "^5.0.0",
  206. "licensee": "^8.2.0",
  207. "spawk": "^1.7.1",
  208. "tap": "^15.0.9"
  209. },
  210. "scripts": {
  211. "dumpconf": "env | grep npm | sort | uniq",
  212. "preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
  213. "licenses": "licensee --production --errors-only",
  214. "test": "tap",
  215. "check-coverage": "tap",
  216. "snap": "tap",
  217. "postsnap": "make -s mandocs",
  218. "test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --",
  219. "sudotest": "sudo npm run test --",
  220. "sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run test --",
  221. "posttest": "npm run lint",
  222. "eslint": "eslint",
  223. "lint": "npm run eslint -- test/lib test/bin bin lib scripts docs smoke-tests",
  224. "lintfix": "npm run lint -- --fix",
  225. "prelint": "rimraf test/npm_cache*",
  226. "resetdeps": "bash scripts/resetdeps.sh",
  227. "smoke-tests": "tap smoke-tests/index.js"
  228. },
  229. "tap": {
  230. "test-env": [
  231. "LC_ALL=sk"
  232. ],
  233. "color": 1,
  234. "files": "test/{lib,bin,index.js}",
  235. "coverage-map": "test/coverage-map.js",
  236. "check-coverage": true,
  237. "timeout": 600
  238. },
  239. "license": "Artistic-2.0",
  240. "engines": {
  241. "node": "^12.13.0 || ^14.15.0 || >=16"
  242. }
  243. }