package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "_args": [
  3. [
  4. "yargs-parser@20.2.9",
  5. "/Users/mac/projects/mime/mine"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "yargs-parser@20.2.9",
  10. "_id": "yargs-parser@20.2.9",
  11. "_inBundle": false,
  12. "_integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==",
  13. "_location": "/yargs-parser",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "yargs-parser@20.2.9",
  19. "name": "yargs-parser",
  20. "escapedName": "yargs-parser",
  21. "rawSpec": "20.2.9",
  22. "saveSpec": null,
  23. "fetchSpec": "20.2.9"
  24. },
  25. "_requiredBy": [
  26. "/yargs"
  27. ],
  28. "_resolved": "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-20.2.9.tgz",
  29. "_spec": "20.2.9",
  30. "_where": "/Users/mac/projects/mime/mine",
  31. "author": {
  32. "name": "Ben Coe",
  33. "email": "ben@npmjs.com"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/yargs/yargs-parser/issues"
  37. },
  38. "description": "the mighty option parser used by yargs",
  39. "devDependencies": {
  40. "@types/chai": "^4.2.11",
  41. "@types/mocha": "^8.0.0",
  42. "@types/node": "^14.0.0",
  43. "@typescript-eslint/eslint-plugin": "^3.10.1",
  44. "@typescript-eslint/parser": "^3.10.1",
  45. "@wessberg/rollup-plugin-ts": "^1.2.28",
  46. "c8": "^7.3.0",
  47. "chai": "^4.2.0",
  48. "cross-env": "^7.0.2",
  49. "eslint": "^7.0.0",
  50. "eslint-plugin-import": "^2.20.1",
  51. "eslint-plugin-node": "^11.0.0",
  52. "gts": "^3.0.0",
  53. "mocha": "^9.0.0",
  54. "puppeteer": "^10.0.0",
  55. "rimraf": "^3.0.2",
  56. "rollup": "^2.22.1",
  57. "rollup-plugin-cleanup": "^3.1.1",
  58. "serve": "^12.0.0",
  59. "standardx": "^7.0.0",
  60. "start-server-and-test": "^1.11.2",
  61. "ts-transform-default-export": "^1.0.2",
  62. "typescript": "^4.0.0"
  63. },
  64. "engines": {
  65. "node": ">=10"
  66. },
  67. "exports": {
  68. ".": [
  69. {
  70. "import": "./build/lib/index.js",
  71. "require": "./build/index.cjs"
  72. },
  73. "./build/index.cjs"
  74. ]
  75. },
  76. "files": [
  77. "browser.js",
  78. "build",
  79. "!*.d.ts"
  80. ],
  81. "homepage": "https://github.com/yargs/yargs-parser#readme",
  82. "keywords": [
  83. "argument",
  84. "parser",
  85. "yargs",
  86. "command",
  87. "cli",
  88. "parsing",
  89. "option",
  90. "args",
  91. "argument"
  92. ],
  93. "license": "ISC",
  94. "main": "build/index.cjs",
  95. "module": "./build/lib/index.js",
  96. "name": "yargs-parser",
  97. "repository": {
  98. "type": "git",
  99. "url": "git+https://github.com/yargs/yargs-parser.git"
  100. },
  101. "scripts": {
  102. "build:cjs": "rollup -c",
  103. "check": "standardx '**/*.ts' && standardx '**/*.js' && standardx '**/*.cjs'",
  104. "compile": "tsc",
  105. "coverage": "c8 report --check-coverage",
  106. "fix": "standardx --fix '**/*.ts' && standardx --fix '**/*.js' && standardx --fix '**/*.cjs'",
  107. "postcompile": "npm run build:cjs",
  108. "precompile": "rimraf build",
  109. "prepare": "npm run compile",
  110. "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
  111. "pretest:typescript": "npm run pretest",
  112. "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
  113. "test:browser": "start-server-and-test 'serve ./ -p 8080' http://127.0.0.1:8080/package.json 'node ./test/browser/yargs-test.cjs'",
  114. "test:typescript": "c8 mocha ./build/test/typescript/*.js"
  115. },
  116. "standardx": {
  117. "ignore": [
  118. "build"
  119. ]
  120. },
  121. "type": "module",
  122. "version": "20.2.9"
  123. }