Repository navigation
Expand file tree
/
Copy pathjustfile
More file actions
65 lines (49 loc) · 1.36 KB
/
Copy pathjustfile
File metadata and controls
65 lines (49 loc) · 1.36 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
55
56
57
58
59
60
61
62
63
64
65
set positional-arguments
# List available commands.
default:
@just --list
# Install dependencies from the committed npm lockfile.
install *args:
npm ci "$@"
# Start the development server (prepares pinned engines).
dev *args:
npm run dev -- "$@"
# Prepare engines, check types and build the production app.
build *args:
npm run build -- "$@"
# Serve the production build locally.
preview *args:
npm run preview -- "$@"
# Verify and prepare the pinned browser engines.
engines-prepare:
npm run engines:prepare
# Check TypeScript types.
typecheck *args:
npm run typecheck -- "$@"
# Check architectural import boundaries.
check-architecture:
npm run check:architecture
# Format source and documentation.
format *args:
npm run format -- "$@"
# Check formatting and architectural imports.
lint:
npm run lint
# Run unit and script tests.
test:
npm test
# Run browser tests against a fresh production build.
test-e2e *args:
npm run test:e2e -- "$@"
# Run formatting, architecture, type and unit checks.
check:
npm run check
# Regenerate the example catalog index.
examples-index:
npm run examples:index
# Check example metadata and real-engine browser scenarios.
test-examples *args:
npm run test:examples -- "$@"
# Install the bundled Chromium used by browser checks.
install-browser:
npx playwright install chromium