mise
This commit is contained in:
24
mise.toml
Normal file
24
mise.toml
Normal 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"]
|
||||
Reference in New Issue
Block a user