-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
95 lines (95 loc) · 2.71 KB
/
package.json
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
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "ansis",
"version": "3.9.1",
"description": "A small and fast Node.js library for applying ANSI colors and styles in terminal output",
"keywords": [
"ansi",
"colour",
"color",
"colors",
"styles",
"console",
"terminal",
"xterm",
"cli",
"log",
"rgb",
"truecolor",
"FORCE_COLOR",
"NO_COLOR"
],
"license": "ISC",
"author": "webdiscus (https://github.com/webdiscus)",
"maintainers": [
"webdiscus (https://github.com/webdiscus)"
],
"homepage": "https://github.com/webdiscus/ansis",
"bugs": {
"url": "https://github.com/webdiscus/ansis/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webdiscus/ansis.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"sideEffects": false,
"type": "module",
"main": "./src/index.js",
"types": "./src/index.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./src/index.mjs",
"require": "./src/index.js"
}
},
"scripts": {
"build": "rollup -c",
"postinstall": "npm run build && npm i ./dist -D",
"demo": "node --experimental-modules ./examples/index.js",
"bench": "(cd ./bench/ && npm install); node ./bench/index.js",
"compare": "(cd ./compare/ && npm install); node ./compare/index.js",
"test": "vitest run",
"test:unit": "vitest run ./test/unit.test.js",
"test:ansi16": "vitest run ./test/ansi16.test.js",
"test:ansi256": "vitest run ./test/ansi256.test.js",
"test:functional": "vitest run ./test/functional.test.js",
"test:flags": "vitest run ./test/flags.test.js",
"test:package": "vitest run ./test/package.test.js",
"test:cjs": "node ./test/package/cjs/test.cjs",
"test:esm": "node ./test/package/esm/test.mjs",
"test:tsc": "vitest run ./test/ts-compiler.test.js",
"test:levels": "vitest run ./test/color-levels.test.js",
"test:stackoverflow": "node ./test/rangeErrorTest.js",
"test:coverage": "vitest run --coverage",
"publish:public": "(npm run build) && npm publish ./dist --access public",
"publish:beta": "(npm run build) && npm publish ./dist --tag beta"
},
"engines": {
"node": ">=16"
},
"devDependencies": {
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "^2.1.8",
"ansis": "file:dist",
"esbuild": "^0.24.2",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.30.1",
"rollup-plugin-copy": "^3.5.0",
"swc": "^1.0.11",
"terser": "^5.37.0",
"typescript": "^5.7.3",
"vitest": "^2.1.8"
},
"overrides": {
"rollup-plugin-copy": {
"globby": "^11.0.0"
}
}
}