選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

package.json 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "cliui",
  3. "version": "8.0.1",
  4. "description": "easily create complex multi-column command-line-interfaces",
  5. "main": "build/index.cjs",
  6. "exports": {
  7. ".": [
  8. {
  9. "import": "./index.mjs",
  10. "require": "./build/index.cjs"
  11. },
  12. "./build/index.cjs"
  13. ]
  14. },
  15. "type": "module",
  16. "module": "./index.mjs",
  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 mocha ./test/*.cjs",
  22. "test:esm": "c8 mocha ./test/esm/cliui-test.mjs",
  23. "postest": "check",
  24. "coverage": "c8 report --check-coverage",
  25. "precompile": "rimraf build",
  26. "compile": "tsc",
  27. "postcompile": "npm run build:cjs",
  28. "build:cjs": "rollup -c",
  29. "prepare": "npm run compile"
  30. },
  31. "repository": "yargs/cliui",
  32. "standard": {
  33. "ignore": [
  34. "**/example/**"
  35. ],
  36. "globals": [
  37. "it"
  38. ]
  39. },
  40. "keywords": [
  41. "cli",
  42. "command-line",
  43. "layout",
  44. "design",
  45. "console",
  46. "wrap",
  47. "table"
  48. ],
  49. "author": "Ben Coe <ben@npmjs.com>",
  50. "license": "ISC",
  51. "dependencies": {
  52. "string-width": "^4.2.0",
  53. "strip-ansi": "^6.0.1",
  54. "wrap-ansi": "^7.0.0"
  55. },
  56. "devDependencies": {
  57. "@types/node": "^14.0.27",
  58. "@typescript-eslint/eslint-plugin": "^4.0.0",
  59. "@typescript-eslint/parser": "^4.0.0",
  60. "c8": "^7.3.0",
  61. "chai": "^4.2.0",
  62. "chalk": "^4.1.0",
  63. "cross-env": "^7.0.2",
  64. "eslint": "^7.6.0",
  65. "eslint-plugin-import": "^2.22.0",
  66. "eslint-plugin-node": "^11.1.0",
  67. "gts": "^3.0.0",
  68. "mocha": "^10.0.0",
  69. "rimraf": "^3.0.2",
  70. "rollup": "^2.23.1",
  71. "rollup-plugin-ts": "^3.0.2",
  72. "standardx": "^7.0.0",
  73. "typescript": "^4.0.0"
  74. },
  75. "files": [
  76. "build",
  77. "index.mjs",
  78. "!*.d.ts"
  79. ],
  80. "engines": {
  81. "node": ">=12"
  82. }
  83. }