package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "listr2",
  3. "version": "6.6.1",
  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/listr2/listr2",
  7. "type": "module",
  8. "main": "./dist/index.cjs",
  9. "module": "./dist/index.js",
  10. "types": "./dist/index.d.ts",
  11. "exports": {
  12. ".": {
  13. "types": "./dist/index.d.ts",
  14. "require": "./dist/index.cjs",
  15. "import": "./dist/index.js"
  16. },
  17. "./package.json": "./package.json"
  18. },
  19. "author": {
  20. "name": "Cenk Kilic",
  21. "email": "cenk@kilic.dev",
  22. "url": "https://cenk.kilic.dev"
  23. },
  24. "engines": {
  25. "node": ">=16.0.0"
  26. },
  27. "scripts": {
  28. "build": "tsup-node",
  29. "dev:start": "tsup-node --watch",
  30. "example": "TS_NODE_PROJECT=examples/tsconfig.json NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules --loader ./loader.js' node",
  31. "clean": "rimraf node_modules pnpm-lock.yaml",
  32. "format": "prettier --log-level warn --write src/ tests/ examples/ docs/ && pnpm run lint --fix",
  33. "lint": "eslint --ext .ts,.js,.tsx,.jsx src/ tests/ examples/ docs/",
  34. "test": "TS_NODE_PROJECT=tests/tsconfig.json NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules' jest --config ./tests/jest.config.ts",
  35. "test:cov": "pnpm run test --coverage",
  36. "test:dev": "NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules --inspect=0.0.0.0:9229' pnpm run test --verbose --watchAll",
  37. "test:read-snapshot": "./tests/read-terminal-snapshots.sh",
  38. "docs:build": "vuepress build docs",
  39. "docs:dev:start": "vuepress dev docs",
  40. "docs:dev:start:clean": "vuepress dev docs --clean-cache"
  41. },
  42. "simple-git-hooks": {
  43. "pre-commit": "[ -n \"$SKIP_GIT_HOOKS\" ] && true || pnpm exec lint-staged",
  44. "prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true",
  45. "pre-push": "[ -n \"$SKIP_GIT_HOOKS\" ] && true || pnpm run test"
  46. },
  47. "lint-staged": {
  48. "*.{ts,js,tsx,jsx,spec.ts}": [
  49. "prettier --loglevel warn --write",
  50. "eslint --fix"
  51. ],
  52. "*.{json,md}": [
  53. "prettier --loglevel warn --write"
  54. ]
  55. },
  56. "keywords": [
  57. "listr",
  58. "cli",
  59. "task",
  60. "list",
  61. "tasklist",
  62. "terminal",
  63. "term",
  64. "console",
  65. "ascii",
  66. "unicode",
  67. "loading",
  68. "indicator",
  69. "progress",
  70. "busy",
  71. "wait",
  72. "idle"
  73. ],
  74. "dependencies": {
  75. "cli-truncate": "^3.1.0",
  76. "colorette": "^2.0.20",
  77. "eventemitter3": "^5.0.1",
  78. "log-update": "^5.0.1",
  79. "rfdc": "^1.3.0",
  80. "wrap-ansi": "^8.1.0"
  81. },
  82. "devDependencies": {
  83. "@cenk1cenk2/cz-cc": "^1.6.6",
  84. "@cenk1cenk2/eslint-config": "^2.7.12",
  85. "@jest/globals": "^29.6.2",
  86. "@swc/core": "^1.3.72",
  87. "@tsconfig/node16": "^16.1.0",
  88. "@types/jest": "^29.5.3",
  89. "@types/node": "^20.4.5",
  90. "@types/wrap-ansi": "^8.0.1",
  91. "@vuepress/client": "2.0.0-beta.66",
  92. "@vuepress/plugin-docsearch": "2.0.0-beta.66",
  93. "enquirer": "^2.4.1",
  94. "eslint": "^8.46.0",
  95. "execa": "^7.2.0",
  96. "jest": "^29.6.2",
  97. "jest-mock-process": "^2.0.0",
  98. "lint-staged": "^13.2.3",
  99. "prettier": "^3.0.0",
  100. "rimraf": "^5.0.1",
  101. "rxjs": "^7.8.1",
  102. "simple-git-hooks": "^2.9.0",
  103. "ts-jest": "^29.1.1",
  104. "ts-node": "^10.9.1",
  105. "tsconfig-paths": "^4.2.0",
  106. "tsup": "7.1.0",
  107. "typedoc": "^0.24.8",
  108. "typedoc-plugin-markdown": "^3.15.4",
  109. "typescript": "^5.1.6",
  110. "vue": "3.3.4",
  111. "vuepress": "2.0.0-beta.66",
  112. "vuepress-plugin-typedoc": "0.12.1",
  113. "vuepress-theme-hope": "2.0.0-beta.234"
  114. },
  115. "peerDependencies": {
  116. "enquirer": ">= 2.3.0 < 3"
  117. },
  118. "peerDependenciesMeta": {
  119. "enquirer": {
  120. "optional": true
  121. }
  122. },
  123. "config": {
  124. "commitizen": {
  125. "path": "./node_modules/@cenk1cenk2/cz-cc"
  126. }
  127. }
  128. }