package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "listr2",
  3. "version": "3.14.0",
  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. "main": "./dist/index.js",
  8. "types": "./dist/index.d.ts",
  9. "author": {
  10. "name": "Cenk Kilic",
  11. "email": "cenk@kilic.dev",
  12. "url": "https://srcs.kilic.dev"
  13. },
  14. "engines": {
  15. "node": ">=10.0.0"
  16. },
  17. "scripts": {
  18. "prebuild": "rimraf tsconfig*.tsbuildinfo && rimraf dist/",
  19. "build": "tsc -P tsconfig.build.json",
  20. "postbuild": "tsconfig-replace-paths --project tsconfig.build.json",
  21. "dev:build": "yarn prebuild && tsc -p tsconfig.json && yarn postbuild",
  22. "dev:start": "yarn dev:build && tsc-watch --noClear --onSuccess \"yarn postbuild\"",
  23. "example": "ts-node -r tsconfig-paths/register",
  24. "read-snapshot": "./tests/read-terminal-snapshots.sh",
  25. "clean": "rimraf node_modules yarn.lock",
  26. "lint": "prettier --loglevel warn --write src/ tests/ examples/ && eslint --ext .ts,.js,.tsx,.jsx --fix src/ tests/ examples/",
  27. "lint:check": "eslint --ext .ts,.js,.tsx,.jsx src/",
  28. "test": "LISTR_DISABLE_COLOR=1 ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --config ./tests/jest.config.js",
  29. "test:cov": "LISTR_DISABLE_COLOR=1 ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --coverage --config ./tests/jest.config.js",
  30. "dev:test": "LISTR_DISABLE_COLOR=1 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.js",
  31. "docs": "typedoc --options .typedoc.json --hideInPageTOC --hideBreadcrumbs"
  32. },
  33. "simple-git-hooks": {
  34. "pre-commit": "yarn exec lint-staged",
  35. "prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true",
  36. "pre-push": "yarn test"
  37. },
  38. "lint-staged": {
  39. "*.{ts,js,tsx,jsx,spec.ts}": [
  40. "prettier --loglevel warn --write",
  41. "eslint --fix"
  42. ],
  43. "*.{json,md}": [
  44. "prettier --loglevel warn --write"
  45. ]
  46. },
  47. "keywords": [
  48. "listr",
  49. "cli",
  50. "task",
  51. "list",
  52. "tasklist",
  53. "terminal",
  54. "term",
  55. "console",
  56. "ascii",
  57. "unicode",
  58. "loading",
  59. "indicator",
  60. "progress",
  61. "busy",
  62. "wait",
  63. "idle"
  64. ],
  65. "dependencies": {
  66. "cli-truncate": "^2.1.0",
  67. "colorette": "^2.0.16",
  68. "log-update": "^4.0.0",
  69. "p-map": "^4.0.0",
  70. "rfdc": "^1.3.0",
  71. "rxjs": "^7.5.1",
  72. "through": "^2.3.8",
  73. "wrap-ansi": "^7.0.0"
  74. },
  75. "devDependencies": {
  76. "@cenk1cenk2/cz-cc": "^1.4.11",
  77. "@cenk1cenk2/eslint-config": "^1.0.9",
  78. "@types/clone": "^2.1.1",
  79. "@types/jest": "^27.4.0",
  80. "@types/node": "^17.0.7",
  81. "@types/rewire": "^2.5.28",
  82. "@types/through": "^0.0.30",
  83. "@types/wrap-ansi": "^3.0.0",
  84. "delay": "^5.0.0",
  85. "enquirer": "^2.3.6",
  86. "eslint": "^8.6.0",
  87. "jest": "^27.4.5",
  88. "jest-mock-process": "^1.4.1",
  89. "lint-staged": "^11.2.6",
  90. "prettier": "^2.5.1",
  91. "rewire": "^6.0.0",
  92. "rimraf": "^3.0.2",
  93. "simple-git-hooks": "^2.7.0",
  94. "ts-jest": "^27.1.2",
  95. "ts-node": "^10.4.0",
  96. "tsc-watch": "^4.6.0",
  97. "tsconfig-paths": "^3.12.0",
  98. "tsconfig-replace-paths": "^0.0.11",
  99. "tscpaths": "^0.0.9",
  100. "typedoc": "^0.22.10",
  101. "typedoc-plugin-markdown": "^3.11.8",
  102. "typescript": "^4.5.4"
  103. },
  104. "peerDependencies": {
  105. "enquirer": ">= 2.3.0 < 3"
  106. },
  107. "peerDependenciesMeta": {
  108. "enquirer": {
  109. "optional": true
  110. }
  111. },
  112. "config": {
  113. "commitizen": {
  114. "path": "./node_modules/@cenk1cenk2/cz-cc"
  115. }
  116. }
  117. }