package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "_from": "yargs@^17.2.1",
  3. "_id": "yargs@17.5.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==",
  6. "_location": "/yargs",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "yargs@^17.2.1",
  12. "name": "yargs",
  13. "escapedName": "yargs",
  14. "rawSpec": "^17.2.1",
  15. "saveSpec": null,
  16. "fetchSpec": "^17.2.1"
  17. },
  18. "_requiredBy": [
  19. "/sass-graph"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz",
  22. "_shasum": "e109900cab6fcb7fd44b1d8249166feb0b36e58e",
  23. "_spec": "yargs@^17.2.1",
  24. "_where": "G:\\项目\\mobile\\node_modules\\sass-graph",
  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. "./browser": {
  87. "import": "./browser.mjs",
  88. "types": "./browser.d.ts"
  89. },
  90. "./yargs": [
  91. {
  92. "import": "./yargs.mjs",
  93. "require": "./yargs"
  94. },
  95. "./yargs"
  96. ]
  97. },
  98. "files": [
  99. "browser.mjs",
  100. "browser.d.ts",
  101. "index.cjs",
  102. "helpers/*.js",
  103. "helpers/*",
  104. "index.mjs",
  105. "yargs",
  106. "yargs.mjs",
  107. "build",
  108. "locales",
  109. "LICENSE",
  110. "lib/platform-shims/*.mjs",
  111. "!*.d.ts",
  112. "!**/*.d.ts"
  113. ],
  114. "homepage": "https://yargs.js.org/",
  115. "keywords": [
  116. "argument",
  117. "args",
  118. "option",
  119. "parser",
  120. "parsing",
  121. "cli",
  122. "command"
  123. ],
  124. "license": "MIT",
  125. "main": "./index.cjs",
  126. "module": "./index.mjs",
  127. "name": "yargs",
  128. "repository": {
  129. "type": "git",
  130. "url": "git+https://github.com/yargs/yargs.git"
  131. },
  132. "scripts": {
  133. "build:cjs": "rollup -c rollup.config.cjs",
  134. "check": "gts lint && npm run check:js",
  135. "check:js": "eslint . --ext cjs --ext mjs --ext js",
  136. "clean": "gts clean",
  137. "compile": "rimraf build && tsc",
  138. "coverage": "c8 report --check-coverage",
  139. "fix": "gts fix && npm run fix:js",
  140. "fix:js": "eslint . --ext cjs --ext mjs --ext js --fix",
  141. "postbuild:cjs": "rimraf ./build/index.cjs.d.ts",
  142. "postcompile": "npm run build:cjs",
  143. "posttest": "npm run check",
  144. "prepare": "npm run compile",
  145. "pretest": "npm run compile -- -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
  146. "test": "c8 mocha --enable-source-maps ./test/*.cjs --require ./test/before.cjs --timeout=12000 --check-leaks",
  147. "test:esm": "c8 mocha --enable-source-maps ./test/esm/*.mjs --check-leaks"
  148. },
  149. "type": "module",
  150. "version": "17.5.1"
  151. }