-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
47 lines (38 loc) · 824 Bytes
/
Copy pathTaskfile.yml
File metadata and controls
47 lines (38 loc) · 824 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
45
46
47
version: '3'
# Requires: https://taskfile.dev
# Enable corepack once: `corepack enable`
tasks:
default:
desc: List available tasks
cmds:
- task --list
install:
desc: Install dependencies with Yarn
cmds:
- corepack enable
- yarn install
dev:
desc: Start the Vite dev server
cmds:
- yarn dev
build:
desc: Type-check and build the production bundle
cmds:
- yarn build
preview:
desc: Preview the production build
deps: [build]
cmds:
- yarn preview
typecheck:
desc: Run TypeScript in no-emit mode
cmds:
- yarn typecheck
lint:
desc: Run ESLint
cmds:
- yarn lint
clean:
desc: Remove build artefacts and dependencies
cmds:
- rm -rf node_modules dist .yarn/cache .yarn/install-state.gz