Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

package.json 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "yargs-parser",
  3. "version": "20.2.9",
  4. "description": "the mighty option parser used by yargs",
  5. "main": "build/index.cjs",
  6. "exports": {
  7. ".": [
  8. {
  9. "import": "./build/lib/index.js",
  10. "require": "./build/index.cjs"
  11. },
  12. "./build/index.cjs"
  13. ]
  14. },
  15. "type": "module",
  16. "module": "./build/lib/index.js",
  17. "scripts": {
  18. "check": "standardx '**/*.ts' && standardx '**/*.js' && standardx '**/*.cjs'",
  19. "fix": "standardx --fix '**/*.ts' && standardx --fix '**/*.js' && standardx --fix '**/*.cjs'",
  20. "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
  21. "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
  22. "test:browser": "start-server-and-test 'serve ./ -p 8080' http://127.0.0.1:8080/package.json 'node ./test/browser/yargs-test.cjs'",
  23. "pretest:typescript": "npm run pretest",
  24. "test:typescript": "c8 mocha ./build/test/typescript/*.js",
  25. "coverage": "c8 report --check-coverage",
  26. "precompile": "rimraf build",
  27. "compile": "tsc",
  28. "postcompile": "npm run build:cjs",
  29. "build:cjs": "rollup -c",
  30. "prepare": "npm run compile"
  31. },
  32. "repository": {
  33. "type": "git",
  34. "url": "https://github.com/yargs/yargs-parser.git"
  35. },
  36. "keywords": [
  37. "argument",
  38. "parser",
  39. "yargs",
  40. "command",
  41. "cli",
  42. "parsing",
  43. "option",
  44. "args",
  45. "argument"
  46. ],
  47. "author": "Ben Coe <ben@npmjs.com>",
  48. "license": "ISC",
  49. "devDependencies": {
  50. "@types/chai": "^4.2.11",
  51. "@types/mocha": "^8.0.0",
  52. "@types/node": "^14.0.0",
  53. "@typescript-eslint/eslint-plugin": "^3.10.1",
  54. "@typescript-eslint/parser": "^3.10.1",
  55. "@wessberg/rollup-plugin-ts": "^1.2.28",
  56. "c8": "^7.3.0",
  57. "chai": "^4.2.0",
  58. "cross-env": "^7.0.2",
  59. "eslint": "^7.0.0",
  60. "eslint-plugin-import": "^2.20.1",
  61. "eslint-plugin-node": "^11.0.0",
  62. "gts": "^3.0.0",
  63. "mocha": "^9.0.0",
  64. "puppeteer": "^10.0.0",
  65. "rimraf": "^3.0.2",
  66. "rollup": "^2.22.1",
  67. "rollup-plugin-cleanup": "^3.1.1",
  68. "serve": "^12.0.0",
  69. "standardx": "^7.0.0",
  70. "start-server-and-test": "^1.11.2",
  71. "ts-transform-default-export": "^1.0.2",
  72. "typescript": "^4.0.0"
  73. },
  74. "files": [
  75. "browser.js",
  76. "build",
  77. "!*.d.ts"
  78. ],
  79. "engines": {
  80. "node": ">=10"
  81. },
  82. "standardx": {
  83. "ignore": [
  84. "build"
  85. ]
  86. }
  87. }