package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "chalk",
  3. "version": "5.4.1",
  4. "description": "Terminal string styling done right",
  5. "license": "MIT",
  6. "repository": "chalk/chalk",
  7. "funding": "https://github.com/chalk/chalk?sponsor=1",
  8. "type": "module",
  9. "main": "./source/index.js",
  10. "exports": "./source/index.js",
  11. "imports": {
  12. "#ansi-styles": "./source/vendor/ansi-styles/index.js",
  13. "#supports-color": {
  14. "node": "./source/vendor/supports-color/index.js",
  15. "default": "./source/vendor/supports-color/browser.js"
  16. }
  17. },
  18. "types": "./source/index.d.ts",
  19. "sideEffects": false,
  20. "engines": {
  21. "node": "^12.17.0 || ^14.13 || >=16.0.0"
  22. },
  23. "scripts": {
  24. "test": "xo && c8 ava && tsd",
  25. "bench": "matcha benchmark.js"
  26. },
  27. "files": [
  28. "source",
  29. "!source/index.test-d.ts"
  30. ],
  31. "keywords": [
  32. "color",
  33. "colour",
  34. "colors",
  35. "terminal",
  36. "console",
  37. "cli",
  38. "string",
  39. "ansi",
  40. "style",
  41. "styles",
  42. "tty",
  43. "formatting",
  44. "rgb",
  45. "256",
  46. "shell",
  47. "xterm",
  48. "log",
  49. "logging",
  50. "command-line",
  51. "text"
  52. ],
  53. "devDependencies": {
  54. "@types/node": "^16.11.10",
  55. "ava": "^3.15.0",
  56. "c8": "^7.10.0",
  57. "color-convert": "^2.0.1",
  58. "execa": "^6.0.0",
  59. "log-update": "^5.0.0",
  60. "matcha": "^0.7.0",
  61. "tsd": "^0.19.0",
  62. "xo": "^0.57.0",
  63. "yoctodelay": "^2.0.0"
  64. },
  65. "xo": {
  66. "rules": {
  67. "unicorn/prefer-string-slice": "off",
  68. "@typescript-eslint/consistent-type-imports": "off",
  69. "@typescript-eslint/consistent-type-exports": "off",
  70. "@typescript-eslint/consistent-type-definitions": "off",
  71. "unicorn/expiring-todo-comments": "off"
  72. }
  73. },
  74. "c8": {
  75. "reporter": [
  76. "text",
  77. "lcov"
  78. ],
  79. "exclude": [
  80. "source/vendor"
  81. ]
  82. }
  83. }