-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathmise.toml
More file actions
44 lines (34 loc) · 906 Bytes
/
mise.toml
File metadata and controls
44 lines (34 loc) · 906 Bytes
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
[tools]
node = "22.17.1"
# --------------------------------------------------------------------------------
# Tasks: docs
[tasks."docs:init"]
run = "npm install"
sources = ["package.json", "package-lock.json"]
outputs = { auto = true }
dir = "docs"
[tasks.docs]
depends = ["docs:init"]
run = "npm run dev"
dir = "docs"
# --------------------------------------------------------------------------------
# Tasks: main
[tasks."main:init"]
run = "npm install"
sources = ["package.json", "package-lock.json"]
outputs = { auto = true }
[tasks."main:build"]
depends = ["main:init"]
run = "npm run dev"
[tasks."main:test"]
depends = ["main:init"]
run = "npm run test"
[tasks."main:lint:fix"]
depends = ["main:init"]
run = "npm run lint:fix"
[tasks."pre-commit"]
depends = ["main:lint:fix", "main:test"]
run = "npm run lint:fix && npm run test"
[tasks.deploy]
depends = ["main:build"]
run = "./deploy.sh"