-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathmise.toml
More file actions
54 lines (42 loc) · 1.29 KB
/
mise.toml
File metadata and controls
54 lines (42 loc) · 1.29 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
[tools]
node = "24.15.0"
pnpm = "10.33.0"
[settings]
experimental = true
pin = true
[tasks."web:dev"]
alias = ["web:up"]
description = "Start frontend development server. Save file(s) to see changes"
env._.path = "./node_modules/.bin"
dir = "{{ config_root }}"
run = "vite"
[tasks."web:install"]
description = "Pulls dependencies through pnpm"
env._.path = "./node_modules/.bin"
dir = "{{ config_root }}"
run = "pnpm install"
[tasks."web:build"]
description = "Builds the frontend for distribution/preview"
env._.path = "./node_modules/.bin"
dir = "{{ config_root }}"
run = "tsc && vite build"
[tasks."web:preview"]
description = "Previews frontend"
env._.path = "./node_modules/.bin"
dir = "{{ config_root }}"
run = "vite preview"
[tasks."web:lint"]
description = "Lints the react codebase"
env._.path = "./node_modules/.bin"
dir = "{{ config_root }}"
run = ["oxlint --type-aware --type-check --deny-warnings src", "eslint src --cache --cache-location .eslintcache"]
[tasks."web:format"]
description = "Formats the react codebase"
env._.path = "./node_modules/.bin"
dir = "{{ config_root }}"
run = "oxfmt --write src"
[tasks."web:check"]
description = "Lints and formats the react codebase"
env._.path = "./node_modules/.bin"
dir = "{{ config_root }}"
run = [{"task" = "web:lint"}, { "task" = "web:format"}]