版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

120 строки
3.5 KiB

  1. {
  2. "name": "listr2",
  3. "version": "5.0.8",
  4. "description": "Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.",
  5. "license": "MIT",
  6. "repository": "https://github.com/cenk1cenk2/listr2",
  7. "type": "module",
  8. "main": "./dist/index.cjs",
  9. "module": "./dist/index.js",
  10. "types": "./dist/index.d.ts",
  11. "exports": {
  12. ".": {
  13. "require": "./dist/index.cjs",
  14. "import": "./dist/index.js",
  15. "types": "./dist/index.d.ts"
  16. }
  17. },
  18. "author": {
  19. "name": "Cenk Kilic",
  20. "email": "cenk@kilic.dev",
  21. "url": "https://cenk.kilic.dev"
  22. },
  23. "engines": {
  24. "node": "^14.13.1 || >=16.0.0"
  25. },
  26. "scripts": {
  27. "build": "tsup-node",
  28. "dev:start": "tsup-node --watch",
  29. "example": "ts-node -r tsconfig-paths/register --project examples/tsconfig.json",
  30. "read-snapshot": "./tests/read-terminal-snapshots.sh",
  31. "clean": "rimraf node_modules yarn.lock",
  32. "lint": "prettier --loglevel warn --write src/ tests/ examples/ && yarn run lint:check --fix",
  33. "lint:check": "eslint --ext .ts,.js,.tsx,.jsx src/ tests/ examples/",
  34. "test": "ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --config ./tests/jest.config.cjs",
  35. "test:cov": "ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --coverage --config ./tests/jest.config.cjs",
  36. "dev:test": "TS_NODE_PROJECT=tests/tsconfig.json node --inspect=0.0.0.0:${DEBUG_PORT:-9229} -r tsconfig-paths/register -r ts-node/register node_modules/jest/bin/jest.js --verbose --watchAll --config ./tests/jest.config.cjs",
  37. "docs:api": "typedoc --options .typedoc.json --hideInPageTOC --hideBreadcrumbs"
  38. },
  39. "simple-git-hooks": {
  40. "pre-commit": "yarn lint-staged",
  41. "prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true",
  42. "pre-push": "yarn test"
  43. },
  44. "lint-staged": {
  45. "*.{ts,js,tsx,jsx,spec.ts}": [
  46. "prettier --loglevel warn --write",
  47. "eslint --fix"
  48. ],
  49. "*.{json,md}": [
  50. "prettier --loglevel warn --write"
  51. ]
  52. },
  53. "keywords": [
  54. "listr",
  55. "cli",
  56. "task",
  57. "list",
  58. "tasklist",
  59. "terminal",
  60. "term",
  61. "console",
  62. "ascii",
  63. "unicode",
  64. "loading",
  65. "indicator",
  66. "progress",
  67. "busy",
  68. "wait",
  69. "idle"
  70. ],
  71. "dependencies": {
  72. "cli-truncate": "^2.1.0",
  73. "colorette": "^2.0.19",
  74. "log-update": "^4.0.0",
  75. "p-map": "^4.0.0",
  76. "rfdc": "^1.3.0",
  77. "rxjs": "^7.8.0",
  78. "through": "^2.3.8",
  79. "wrap-ansi": "^7.0.0"
  80. },
  81. "devDependencies": {
  82. "@cenk1cenk2/cz-cc": "^1.5.3",
  83. "@cenk1cenk2/eslint-config": "2.5.26",
  84. "@types/clone": "^2.1.1",
  85. "@types/jest": "^29.0.0",
  86. "@types/node": "^18.7.15",
  87. "@types/through": "^0.0.30",
  88. "@types/wrap-ansi": "^3.0.0",
  89. "delay": "^5.0.0",
  90. "enquirer": "^2.3.6",
  91. "eslint": "^8.23.0",
  92. "jest": "^29.0.2",
  93. "jest-mock-process": "^2.0.0",
  94. "lint-staged": "^13.0.3",
  95. "prettier": "^2.7.1",
  96. "rimraf": "^4.0.5",
  97. "simple-git-hooks": "^2.8.0",
  98. "ts-jest": "^28.0.8",
  99. "ts-node": "^10.9.1",
  100. "tsconfig-paths": "^4.1.0",
  101. "tsup": "6.2.3",
  102. "typedoc": "^0.23.14",
  103. "typedoc-plugin-markdown": "^3.13.6",
  104. "typescript": "^4.8.2"
  105. },
  106. "peerDependencies": {
  107. "enquirer": ">= 2.3.0 < 3"
  108. },
  109. "peerDependenciesMeta": {
  110. "enquirer": {
  111. "optional": true
  112. }
  113. },
  114. "config": {
  115. "commitizen": {
  116. "path": "./node_modules/@cenk1cenk2/cz-cc"
  117. }
  118. }
  119. }