UNPKG

1.37 kBJSONView Raw
1{
2 "name": "chalk",
3 "version": "5.0.0",
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 "exports": "./source/index.js",
10 "imports": {
11 "#ansi-styles": "./source/vendor/ansi-styles/index.js",
12 "#supports-color": {
13 "node": "./source/vendor/supports-color/index.js",
14 "default": "./source/vendor/supports-color/browser.js"
15 }
16 },
17 "types": "./source/index.d.ts",
18 "engines": {
19 "node": "^12.17.0 || ^14.13 || >=16.0.0"
20 },
21 "scripts": {
22 "test": "xo && c8 ava && tsd",
23 "bench": "matcha benchmark.js"
24 },
25 "files": [
26 "source",
27 "!source/index.test-d.ts"
28 ],
29 "keywords": [
30 "color",
31 "colour",
32 "colors",
33 "terminal",
34 "console",
35 "cli",
36 "string",
37 "ansi",
38 "style",
39 "styles",
40 "tty",
41 "formatting",
42 "rgb",
43 "256",
44 "shell",
45 "xterm",
46 "log",
47 "logging",
48 "command-line",
49 "text"
50 ],
51 "devDependencies": {
52 "@types/node": "^16.11.10",
53 "ava": "^3.15.0",
54 "c8": "^7.10.0",
55 "color-convert": "^2.0.1",
56 "execa": "^6.0.0",
57 "log-update": "^5.0.0",
58 "matcha": "^0.7.0",
59 "tsd": "^0.19.0",
60 "xo": "^0.47.0",
61 "yoctodelay": "^2.0.0"
62 },
63 "xo": {
64 "rules": {
65 "unicorn/prefer-string-slice": "off"
66 }
67 },
68 "c8": {
69 "reporter": [
70 "text",
71 "lcov"
72 ],
73 "exclude": [
74 "source/vendor"
75 ]
76 }
77}