package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "_from": "yargs@^17.0.0",
  3. "_id": "yargs@17.4.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g==",
  6. "_location": "/yargs",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "yargs@^17.0.0",
  12. "name": "yargs",
  13. "escapedName": "yargs",
  14. "rawSpec": "^17.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^17.0.0"
  17. },
  18. "_requiredBy": [
  19. "/@commitlint/cli"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/yargs/-/yargs-17.4.1.tgz",
  22. "_shasum": "ebe23284207bb75cee7c408c33e722bfb27b5284",
  23. "_spec": "yargs@^17.0.0",
  24. "_where": "H:\\gs_nuxt\\node_modules\\@commitlint\\cli",
  25. "bugs": {
  26. "url": "https://github.com/yargs/yargs/issues"
  27. },
  28. "bundleDependencies": false,
  29. "contributors": [
  30. {
  31. "name": "Yargs Contributors",
  32. "url": "https://github.com/yargs/yargs/graphs/contributors"
  33. }
  34. ],
  35. "dependencies": {
  36. "cliui": "^7.0.2",
  37. "escalade": "^3.1.1",
  38. "get-caller-file": "^2.0.5",
  39. "require-directory": "^2.1.1",
  40. "string-width": "^4.2.3",
  41. "y18n": "^5.0.5",
  42. "yargs-parser": "^21.0.0"
  43. },
  44. "deprecated": false,
  45. "description": "yargs the modern, pirate-themed, successor to optimist.",
  46. "devDependencies": {
  47. "@types/chai": "^4.2.11",
  48. "@types/mocha": "^9.0.0",
  49. "@types/node": "^16.11.4",
  50. "c8": "^7.7.0",
  51. "chai": "^4.2.0",
  52. "chalk": "^4.0.0",
  53. "coveralls": "^3.0.9",
  54. "cpr": "^3.0.1",
  55. "cross-env": "^7.0.2",
  56. "cross-spawn": "^7.0.0",
  57. "eslint": "^7.23.0",
  58. "gts": "^3.0.0",
  59. "hashish": "0.0.4",
  60. "mocha": "^9.0.0",
  61. "rimraf": "^3.0.2",
  62. "rollup": "^2.23.0",
  63. "rollup-plugin-cleanup": "^3.1.1",
  64. "rollup-plugin-terser": "^7.0.2",
  65. "rollup-plugin-ts": "^2.0.4",
  66. "typescript": "^4.0.2",
  67. "which": "^2.0.0",
  68. "yargs-test-extends": "^1.0.1"
  69. },
  70. "engines": {
  71. "node": ">=12"
  72. },
  73. "exports": {
  74. "./package.json": "./package.json",
  75. ".": [
  76. {
  77. "import": "./index.mjs",
  78. "require": "./index.cjs"
  79. },
  80. "./index.cjs"
  81. ],
  82. "./helpers": {
  83. "import": "./helpers/helpers.mjs",
  84. "require": "./helpers/index.js"
  85. },
  86. "./yargs": [
  87. {
  88. "require": "./yargs"
  89. },
  90. "./yargs"
  91. ]
  92. },
  93. "files": [
  94. "browser.mjs",
  95. "index.cjs",
  96. "helpers/*.js",
  97. "helpers/*",
  98. "index.mjs",
  99. "yargs",
  100. "build",
  101. "locales",
  102. "LICENSE",
  103. "lib/platform-shims/*.mjs",
  104. "!*.d.ts",
  105. "!**/*.d.ts"
  106. ],
  107. "homepage": "https://yargs.js.org/",
  108. "keywords": [
  109. "argument",
  110. "args",
  111. "option",
  112. "parser",
  113. "parsing",
  114. "cli",
  115. "command"
  116. ],
  117. "license": "MIT",
  118. "main": "./index.cjs",
  119. "module": "./index.mjs",
  120. "name": "yargs",
  121. "repository": {
  122. "type": "git",
  123. "url": "git+https://github.com/yargs/yargs.git"
  124. },
  125. "scripts": {
  126. "build:cjs": "rollup -c rollup.config.cjs",
  127. "check": "gts lint && npm run check:js",
  128. "check:js": "eslint . --ext cjs --ext mjs --ext js",
  129. "clean": "gts clean",
  130. "compile": "rimraf build && tsc",
  131. "coverage": "c8 report --check-coverage",
  132. "fix": "gts fix && npm run fix:js",
  133. "fix:js": "eslint . --ext cjs --ext mjs --ext js --fix",
  134. "postbuild:cjs": "rimraf ./build/index.cjs.d.ts",
  135. "postcompile": "npm run build:cjs",
  136. "posttest": "npm run check",
  137. "prepare": "npm run compile",
  138. "pretest": "npm run compile -- -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
  139. "test": "c8 mocha --enable-source-maps ./test/*.cjs --require ./test/before.cjs --timeout=12000 --check-leaks",
  140. "test:esm": "c8 mocha --enable-source-maps ./test/esm/*.mjs --check-leaks"
  141. },
  142. "type": "module",
  143. "version": "17.4.1"
  144. }