package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "yargs",
  3. "version": "15.4.1",
  4. "description": "yargs the modern, pirate-themed, successor to optimist.",
  5. "main": "./index.js",
  6. "contributors": [
  7. {
  8. "name": "Yargs Contributors",
  9. "url": "https://github.com/yargs/yargs/graphs/contributors"
  10. }
  11. ],
  12. "files": [
  13. "index.js",
  14. "yargs.js",
  15. "build",
  16. "locales",
  17. "LICENSE"
  18. ],
  19. "dependencies": {
  20. "cliui": "^6.0.0",
  21. "decamelize": "^1.2.0",
  22. "find-up": "^4.1.0",
  23. "get-caller-file": "^2.0.1",
  24. "require-directory": "^2.1.1",
  25. "require-main-filename": "^2.0.0",
  26. "set-blocking": "^2.0.0",
  27. "string-width": "^4.2.0",
  28. "which-module": "^2.0.0",
  29. "y18n": "^4.0.0",
  30. "yargs-parser": "^18.1.2"
  31. },
  32. "devDependencies": {
  33. "@types/chai": "^4.2.11",
  34. "@types/decamelize": "^1.2.0",
  35. "@types/mocha": "^7.0.2",
  36. "@types/node": "^10.0.3",
  37. "@typescript-eslint/eslint-plugin": "^3.0.0",
  38. "@typescript-eslint/parser": "^3.0.0",
  39. "c8": "^7.0.0",
  40. "chai": "^4.2.0",
  41. "chalk": "^4.0.0",
  42. "coveralls": "^3.0.9",
  43. "cpr": "^3.0.1",
  44. "cross-spawn": "^7.0.0",
  45. "es6-promise": "^4.2.5",
  46. "eslint": "^6.8.0",
  47. "eslint-plugin-import": "^2.20.1",
  48. "eslint-plugin-node": "^11.0.0",
  49. "gts": "^2.0.0-alpha.4",
  50. "hashish": "0.0.4",
  51. "mocha": "^7.0.0",
  52. "rimraf": "^3.0.2",
  53. "standardx": "^5.0.0",
  54. "typescript": "^3.7.0",
  55. "which": "^2.0.0",
  56. "yargs-test-extends": "^1.0.1"
  57. },
  58. "scripts": {
  59. "fix": "standardx --fix && standardx --fix **/*.ts",
  60. "posttest": "npm run check",
  61. "test": "c8 mocha --require ./test/before.js --timeout=12000 --check-leaks",
  62. "coverage": "c8 report --check-coverage",
  63. "check": "standardx && standardx **/*.ts",
  64. "compile": "rimraf build && tsc",
  65. "prepare": "npm run compile",
  66. "pretest": "npm run compile -- -p tsconfig.test.json"
  67. },
  68. "repository": {
  69. "type": "git",
  70. "url": "https://github.com/yargs/yargs.git"
  71. },
  72. "homepage": "https://yargs.js.org/",
  73. "standardx": {
  74. "ignore": [
  75. "build",
  76. "**/example/**"
  77. ]
  78. },
  79. "keywords": [
  80. "argument",
  81. "args",
  82. "option",
  83. "parser",
  84. "parsing",
  85. "cli",
  86. "command"
  87. ],
  88. "license": "MIT",
  89. "engines": {
  90. "node": ">=8"
  91. }
  92. }