package.json 889 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "cli-truncate",
  3. "version": "4.0.0",
  4. "description": "Truncate a string to a specific width in the terminal",
  5. "license": "MIT",
  6. "repository": "sindresorhus/cli-truncate",
  7. "funding": "https://github.com/sponsors/sindresorhus",
  8. "author": {
  9. "name": "Sindre Sorhus",
  10. "email": "sindresorhus@gmail.com",
  11. "url": "https://sindresorhus.com"
  12. },
  13. "type": "module",
  14. "exports": {
  15. "types": "./index.d.ts",
  16. "default": "./index.js"
  17. },
  18. "engines": {
  19. "node": ">=18"
  20. },
  21. "scripts": {
  22. "test": "xo && ava && tsd"
  23. },
  24. "files": [
  25. "index.js",
  26. "index.d.ts"
  27. ],
  28. "keywords": [
  29. "truncate",
  30. "ellipsis",
  31. "text",
  32. "limit",
  33. "slice",
  34. "cli",
  35. "terminal",
  36. "term",
  37. "shell",
  38. "width",
  39. "ansi",
  40. "string"
  41. ],
  42. "dependencies": {
  43. "slice-ansi": "^5.0.0",
  44. "string-width": "^7.0.0"
  45. },
  46. "devDependencies": {
  47. "ava": "^5.3.1",
  48. "tsd": "^0.29.0",
  49. "xo": "^0.56.0"
  50. }
  51. }