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