This commit is contained in:
2026-07-16 21:27:37 -04:00
parent 27ff61027e
commit c178f9121b

24
mise.toml Normal file
View File

@@ -0,0 +1,24 @@
[tools]
node = "latest"
"npm:vite" = "8.1.3"
tinymist = "0.15.0"
typst = "0.15.0"
[tasks.build]
run = [
"rm .typ-bundle/*",
"typst compile main.typ .typ-bundle --format bundle --features bundle,html",
"vite build",
]
sources = ["!dist", "!node_modules", "!.idea", "**/*.typ", "src/**/*"]
[tasks.dev-vite]
run = "vite dev"
sources = ["!dist", "!node_modules", "!.idea", "**/*.typ", "src/**/*"]
[tasks.dev-typ]
run = "typst watch main.typ .typ-bundle --format bundle --features bundle,html --no-serve"
sources = ["!dist", "!node_modules", "!.idea", "**/*.typ", "src/**/*"]
[tasks.dev]
depends = ["dev-vite", "dev-typ"]