You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "listr2",
  3. "version": "7.0.2",
  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. "require": {
  14. "types": "./dist/index.d.cts",
  15. "default": "./dist/index.cjs"
  16. },
  17. "import": {
  18. "types": "./dist/index.d.ts",
  19. "default": "./dist/index.js"
  20. }
  21. },
  22. "./package.json": "./package.json"
  23. },
  24. "author": {
  25. "name": "Cenk Kilic",
  26. "email": "cenk@kilic.dev",
  27. "url": "https://cenk.kilic.dev"
  28. },
  29. "publishConfig": {
  30. "access": "public"
  31. },
  32. "engines": {
  33. "node": ">=16.0.0"
  34. },
  35. "scripts": {
  36. "build": "tsup-node",
  37. "dev:start": "tsup-node --watch",
  38. "format": "prettier --log-level warn --write src/ tests/ && pnpm run lint --fix",
  39. "lint": "eslint --ext .ts,.js,.tsx,.jsx src/ tests/",
  40. "test": "NO_COLOR=1 TS_NODE_PROJECT=tests/tsconfig.json NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules' jest --config tests/jest.config.ts",
  41. "test:cov": "pnpm run test --coverage",
  42. "test:dev": "NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules --inspect=0.0.0.0:9229' pnpm run test --verbose --watchAll"
  43. },
  44. "lint-staged": {
  45. "{src,tests}/**/*.{ts,js,tsx,jsx,spec.ts}": [
  46. "prettier --log-level warn --write",
  47. "eslint --fix"
  48. ],
  49. "*.{json,md}": [
  50. "prettier --log-level warn --write"
  51. ]
  52. },
  53. "keywords": [
  54. "listr",
  55. "listr2",
  56. "cli",
  57. "task",
  58. "list",
  59. "tasklist",
  60. "terminal",
  61. "term",
  62. "console",
  63. "ascii",
  64. "unicode",
  65. "loading",
  66. "indicator",
  67. "progress",
  68. "busy",
  69. "wait",
  70. "idle"
  71. ],
  72. "dependencies": {
  73. "cli-truncate": "^3.1.0",
  74. "colorette": "^2.0.20",
  75. "eventemitter3": "^5.0.1",
  76. "log-update": "^5.0.1",
  77. "rfdc": "^1.3.0",
  78. "wrap-ansi": "^8.1.0"
  79. },
  80. "devDependencies": {
  81. "@inquirer/input": "^1.2.13",
  82. "@inquirer/prompts": "^3.2.0",
  83. "@inquirer/type": "^1.1.5",
  84. "@types/wrap-ansi": "^8.0.1",
  85. "eslint": "^8.51.0",
  86. "rxjs": "^7.8.1"
  87. }
  88. }