-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathjustfile
More file actions
44 lines (34 loc) · 713 Bytes
/
justfile
File metadata and controls
44 lines (34 loc) · 713 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
_default:
just -l
# Installs dependencies
install:
yarn install
# Starts the development server
start: install
yarn start
# Runs the tests
test: install
yarn test --watchAll=false
# Lints the code
lint: install
yarn lint
# Lints and fixes the code
lint-fix: install
yarn lint --fix
# Builds the package
build: install lint test
yarn build
# Cleans the package
clean: install
yarn clean
# Bumps dependencies
bump:
nix flake update
nix develop --command yarn backstage-cli versions:bump
nix develop --command pre-commit autoupdate
# Checks for unused dependencies
check-unused:
npx -y depcheck
# Checks for vulnerabilities
audit: install
yarn npm audit