-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.22 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 3.22 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
{
"name": "@marmotz/zolt",
"version": "0.2.0",
"author": {
"name": "Marmotz",
"email": "contact@marmotz.dev",
"url": "https://github.com/marmotz"
},
"main": "./dist/lib/index.js",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/marmotz/zolt.git"
},
"devDependencies": {
"@biomejs/biome": "^2.4.4",
"@types/bun": "latest",
"@types/katex": "^0.16.8",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"typescript": "^5.9.3"
},
"bin": {
"zolt": "dist/cli/zolt"
},
"description": "Zolt - The high-voltage successor to Markdown",
"keywords": [
"markdown",
"markup",
"html",
"parser",
"cli"
],
"license": "MIT",
"scripts": {
"build": "bun run build:lib && bun run build:cli && bun run build:bin",
"build:lib": "rm -rf dist/lib && bun x tsc",
"build:bin": "rm -rf dist/bin && bun run build:bin:linux && bun run build:bin:macos-x64 && bun run build:bin:macos-arm64 && bun run build:bin:windows",
"build:bin:linux": "mkdir -p dist/bin && rm -f dist/bin/zolt-linux-x64 && bun build src/cli.ts --outfile dist/bin/zolt-linux-x64 --target bun-x64-linux --compile",
"build:bin:macos-x64": "mkdir -p dist/bin && rm -f dist/bin/zolt-macos-x64 && bun build src/cli.ts --outfile dist/bin/zolt-macos-x64 --target bun-x64-macos --compile",
"build:bin:macos-arm64": "mkdir -p dist/bin && rm -f dist/bin/zolt-macos-arm64 && bun build src/cli.ts --outfile dist/bin/zolt-macos-arm64 --target bun-aarch64-macos --compile",
"build:bin:windows": "mkdir -p dist/bin && rm -f dist/bin/zolt-windows-x64.exe && bun build src/cli.ts --outfile dist/bin/zolt-windows-x64.exe --target bun-x64-windows --compile",
"build:cli": "mkdir -p dist/cli && rm -f dist/cli/zolt && bun build src/cli.ts --outfile dist/cli/zolt --target node && chmod +x dist/cli/zolt",
"build:docs": "rm -rf dist/docs && mkdir -p dist/docs && bun dev build docs/index.zlt -o dist/docs",
"build:docs:watch": "bun build:docs -w -s",
"build:examples": "rm -rf dist/examples && mkdir -p dist/examples && bun dev build examples/index.zlt -o dist/examples",
"dev": "bun run src/cli.ts",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --only-failures --coverage",
"test:coverage:watch": "bun test:coverage --watch",
"prepublishOnly": "rm -rf dist && bun run build:lib && bun run build:cli",
"format:check": "biome format src",
"format:fix": "biome format --write src",
"lint:check": "biome lint .",
"lint:fix": "biome check --write .",
"type:check": "bun x tsc --noEmit",
"update:minor": "bunx npm-check-updates -i -t minor",
"update:latest": "bunx npm-check-updates -i -t latest",
"prepare": "husky",
"release": "bun scripts/release.ts",
"export:grammar": "bun scripts/export-grammar.ts"
},
"lint-staged": {
"src/**/*.ts": [
"biome format --write",
"biome check --write"
]
},
"type": "module",
"types": "./dist/lib/index.d.ts",
"files": [
"dist/lib",
"dist/cli",
"README.md",
"LICENSE"
],
"dependencies": {
"katex": "^0.16.33",
"picocolors": "^1.1.1",
"shiki": "^3.23.0",
"yaml": "^2.8.2"
}
}