-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.31 KB
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
{
"name": "ansilight",
"version": "1.2.1",
"description": "Node.js library for truecolor syntax highlighting in the terminal with all highlight.js themes",
"keywords": [
"terminal",
"cli",
"syntax",
"code",
"highlight",
"highlight.js",
"ansi"
],
"license": "ISC",
"author": "webdiscus (https://github.com/webdiscus)",
"repository": "webdiscus/flaget",
"type": "module",
"main": "./src/index.js",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./src/index.js"
},
"./themes/*": {
"types": "./src/theme.d.ts",
"import": "./themes/*.js"
}
},
"types": "./src/index.d.ts",
"scripts": {
"build": "rollup -c",
"start": "node examples/preview.js --width=80 --lang typescript --theme base16-darcula github github-dark atom-one-light atom-one-dark stackoverflow-light stackoverflow-dark",
"examples": "node examples/preview.js",
"build-theme": "node scripts/build-theme.js",
"update-test-expects": "node scripts/update-test-expects.js",
"analyze-snippets": "npm run analyze-theme-scopes && npm run analyze-snippets-coverage",
"analyze-theme-scopes": "node scripts/analyze-theme-scopes.js",
"analyze-snippets-coverage": "node scripts/analyze-snippets-coverage.js",
"test": "npm run test:types && FORCE_COLOR=3 vitest run",
"test:types": "npm run build && tsc -p test/types/tsconfig.json --noEmit",
"test:coverage": "FORCE_COLOR=3 vitest run --coverage",
"pack:check": "npm pack ./dist --dry-run",
"publish:public": "(npm run build) && npm publish ./dist --access public",
"publish:beta": "(npm run build) && npm publish ./dist --tag beta"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"ansis": "^4.3.0",
"highlight.js": "^11.11.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@vitest/coverage-v8": "^4.1.7",
"ansilight": "file:dist",
"css-color-names": "^1.0.1",
"flaget": "^2.1.1",
"prismjs": "^1.30.0",
"rollup": "^4.60.4",
"rollup-plugin-copy": "^3.5.0",
"sharp": "^0.34.5",
"terser": "^5.47.1",
"typescript": "5.4.5",
"vitest": "^4.1.7"
},
"overrides": {
"rollup-plugin-copy": {
"globby": "^11.0.0"
}
}
}