UNPKG

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