-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
60 lines (45 loc) · 1.07 KB
/
justfile
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
55
56
57
58
59
60
default:
just --list
# Enables corepack in node
corepack-enable:
./nvm_exec.sh corepack enable
# Installs project package.json dependencies
install-deps:
./nvm_exec.sh pnpm install
# Starts React development server
dev:
./nvm_exec.sh pnpm dev
ioc-generate-watch:
./nvm_exec.sh pnpm ioc-generate --watch
# Starts React debug server
debug:
./nvm_exec.sh pnpm debug
# Builds React application
build:
./nvm_exec.sh pnpm build
ioc-generate:
./nvm_exec.sh pnpm ioc-generate
# Preview Vite build
preview:
./nvm_exec.sh pnpm preview
# Clean Vite cache
clean:
rm -rf node_modules/.vite
# Styles files following prettier guidelines
prettier-fix:
./nvm_exec.sh pnpm prettier-fix
# Downloads schema and generates corresponding ts types
graphql-codegen:
./nvm_exec.sh pnpm graphql
# Runs E2E tests
e2e-run:
./nvm_exec.sh pnpm e2e:run
# Opens E2E tests UI
e2e-open:
./nvm_exec.sh pnpm e2e:open
# Commits changes using commitlint.
commit:
./nvm_exec.sh pnpm commit
# Proxy comand through nvm
nvm-exec command:
./nvm_exec.sh {{command}}