-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.26 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 3.26 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "logsdx",
"version": "0.1.2",
"private": false,
"packageManager": "bun@1.2.9",
"workspaces": [
"site"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"logsdx": "./dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
},
"./themes": {
"types": "./dist/themes/index.d.ts",
"import": "./dist/themes/index.mjs",
"require": "./dist/themes/index.cjs",
"default": "./dist/themes/index.mjs"
},
"./themes/*": {
"types": "./dist/themes/presets/*.d.ts",
"import": "./dist/themes/presets/*.mjs",
"require": "./dist/themes/presets/*.cjs",
"default": "./dist/themes/presets/*.mjs"
},
"./renderer": {
"types": "./dist/renderer/index.d.ts",
"import": "./dist/renderer/index.mjs",
"require": "./dist/renderer/index.cjs",
"default": "./dist/renderer/index.mjs"
},
"./fast": {
"types": "./dist/renderer/fast-mode.d.ts",
"import": "./dist/renderer/fast-mode.mjs",
"require": "./dist/renderer/fast-mode.cjs",
"default": "./dist/renderer/fast-mode.mjs"
}
},
"sideEffects": false,
"files": [
"dist/"
],
"scripts": {
"setup": "bash scripts/setup.sh",
"clean": "rm -rf dist node_modules/.bun site/node_modules",
"build": "bun run build:cjs && bun run build:esm && bun run build:cli && bun run build:types && bun run generate-schema",
"build:cjs": "bun build src/index.ts --outfile dist/index.cjs --format cjs --minify",
"build:esm": "bun build src/index.ts --outfile dist/index.mjs --format esm --minify",
"build:cli": "bun build src/cli/bin.ts --outfile dist/cli.js --format cjs --minify --target node",
"build:types": "tsc -p tsconfig.build.json",
"test": "bun test tests/",
"test:coverage": "bun test tests/ --coverage --coverage-reporter=lcov",
"test:watch": "bun test tests/ --watch",
"site:test": "cd site && bun test",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"format": "bun run prettier --write .",
"format:check": "bun run prettier --check .",
"check": "bun run lint && bun run format:check && bun run test",
"generate-css": "bun run scripts/generate-css.ts",
"generate-schema": "bun run scripts/generate-schema.ts",
"demo": "bun run demo-dracula-consistency.js",
"turbo:build": "turbo run build",
"turbo:dev": "turbo run dev",
"site:dev": "cd site && bun run dev",
"site:build": "cd site && bun run build",
"site:start": "cd site && bun run start",
"dev": "mprocs",
"create-theme": "bun run src/cli/index.ts theme create",
"postinstall": "bun run scripts/install-hooks.ts"
},
"homepage": "https://jeffry.in/logsdx",
"repository": {
"type": "git",
"url": "git+https://github.com/yowainwright/logsdx.git"
},
"bugs": {
"url": "https://github.com/yowainwright/logsdx/issues"
},
"devDependencies": {
"@types/bun": "^1.2.11",
"mprocs": "^0.7.3",
"oxlint": "^0.15.0",
"prettier": "^3.5.3",
"turbo": "^2.5.6",
"typescript": "^5.0.0",
"zod-to-json-schema": "^3.24.6"
},
"dependencies": {
"zod": "^3.25.74"
}
}