package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "_args": [
  3. [
  4. "yargs@16.2.0",
  5. "/Users/mac/Desktop/zz的项目/cdss/大名县人民医院/CDSS-daming-web"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "yargs@16.2.0",
  10. "_id": "yargs@16.2.0",
  11. "_inBundle": false,
  12. "_integrity": "sha1-HIK/D2tqZur85+8w43b0mhJHf2Y=",
  13. "_location": "/yargs",
  14. "_phantomChildren": {
  15. "string-width": "4.2.2",
  16. "strip-ansi": "6.0.0",
  17. "wrap-ansi": "7.0.0"
  18. },
  19. "_requested": {
  20. "type": "version",
  21. "registry": true,
  22. "raw": "yargs@16.2.0",
  23. "name": "yargs",
  24. "escapedName": "yargs",
  25. "rawSpec": "16.2.0",
  26. "saveSpec": null,
  27. "fetchSpec": "16.2.0"
  28. },
  29. "_requiredBy": [
  30. "/cli-highlight"
  31. ],
  32. "_resolved": "https://registry.nlark.com/yargs/download/yargs-16.2.0.tgz?cache=0&sync_timestamp=1628889089720&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fyargs%2Fdownload%2Fyargs-16.2.0.tgz",
  33. "_spec": "16.2.0",
  34. "_where": "/Users/mac/Desktop/zz的项目/cdss/大名县人民医院/CDSS-daming-web",
  35. "bugs": {
  36. "url": "https://github.com/yargs/yargs/issues"
  37. },
  38. "contributors": [
  39. {
  40. "name": "Yargs Contributors",
  41. "url": "https://github.com/yargs/yargs/graphs/contributors"
  42. }
  43. ],
  44. "dependencies": {
  45. "cliui": "^7.0.2",
  46. "escalade": "^3.1.1",
  47. "get-caller-file": "^2.0.5",
  48. "require-directory": "^2.1.1",
  49. "string-width": "^4.2.0",
  50. "y18n": "^5.0.5",
  51. "yargs-parser": "^20.2.2"
  52. },
  53. "description": "yargs the modern, pirate-themed, successor to optimist.",
  54. "devDependencies": {
  55. "@types/chai": "^4.2.11",
  56. "@types/mocha": "^8.0.0",
  57. "@types/node": "^14.11.2",
  58. "@wessberg/rollup-plugin-ts": "^1.3.2",
  59. "c8": "^7.0.0",
  60. "chai": "^4.2.0",
  61. "chalk": "^4.0.0",
  62. "coveralls": "^3.0.9",
  63. "cpr": "^3.0.1",
  64. "cross-env": "^7.0.2",
  65. "cross-spawn": "^7.0.0",
  66. "gts": "^3.0.0",
  67. "hashish": "0.0.4",
  68. "mocha": "^8.0.0",
  69. "rimraf": "^3.0.2",
  70. "rollup": "^2.23.0",
  71. "rollup-plugin-cleanup": "^3.1.1",
  72. "standardx": "^5.0.0",
  73. "typescript": "^4.0.2",
  74. "which": "^2.0.0",
  75. "yargs-test-extends": "^1.0.1"
  76. },
  77. "engines": {
  78. "node": ">=10"
  79. },
  80. "exports": {
  81. "./package.json": "./package.json",
  82. ".": [
  83. {
  84. "import": "./index.mjs",
  85. "require": "./index.cjs"
  86. },
  87. "./index.cjs"
  88. ],
  89. "./helpers": {
  90. "import": "./helpers/helpers.mjs",
  91. "require": "./helpers/index.js"
  92. },
  93. "./yargs": [
  94. {
  95. "require": "./yargs"
  96. },
  97. "./yargs"
  98. ]
  99. },
  100. "files": [
  101. "browser.mjs",
  102. "index.cjs",
  103. "helpers/*.js",
  104. "helpers/*",
  105. "index.mjs",
  106. "yargs",
  107. "build",
  108. "locales",
  109. "LICENSE",
  110. "lib/platform-shims/*.mjs",
  111. "!*.d.ts"
  112. ],
  113. "homepage": "https://yargs.js.org/",
  114. "keywords": [
  115. "argument",
  116. "args",
  117. "option",
  118. "parser",
  119. "parsing",
  120. "cli",
  121. "command"
  122. ],
  123. "license": "MIT",
  124. "main": "./index.cjs",
  125. "module": "./index.mjs",
  126. "name": "yargs",
  127. "repository": {
  128. "type": "git",
  129. "url": "git+https://github.com/yargs/yargs.git"
  130. },
  131. "scripts": {
  132. "build:cjs": "rollup -c rollup.config.cjs",
  133. "check": "gts lint && npm run check:js",
  134. "check:js": "standardx '**/*.mjs' && standardx '**/*.cjs' && standardx './*.mjs' && standardx './*.cjs'",
  135. "clean": "gts clean",
  136. "compile": "rimraf build && tsc",
  137. "coverage": "c8 report --check-coverage",
  138. "fix": "gts fix && npm run fix:js",
  139. "fix:js": "standardx --fix '**/*.mjs' && standardx --fix '**/*.cjs' && standardx --fix './*.mjs' && standardx --fix './*.cjs'",
  140. "postbuild:cjs": "rimraf ./build/index.cjs.d.ts",
  141. "postcompile": "npm run build:cjs",
  142. "posttest": "npm run check",
  143. "prepare": "npm run compile",
  144. "pretest": "npm run compile -- -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
  145. "test": "c8 mocha ./test/*.cjs --require ./test/before.cjs --timeout=12000 --check-leaks",
  146. "test:esm": "c8 mocha ./test/esm/*.mjs --check-leaks"
  147. },
  148. "standardx": {
  149. "ignore": [
  150. "build",
  151. "helpers",
  152. "**/example/**",
  153. "**/platform-shims/esm.mjs"
  154. ]
  155. },
  156. "type": "module",
  157. "version": "16.2.0"
  158. }