34 lines
677 B
Markdown
34 lines
677 B
Markdown
# Scripts CLAUDE.md
|
|
|
|
Development scripts.
|
|
|
|
## Scripts
|
|
|
|
| Script | Purpose |
|
|
|--------|---------|
|
|
| `./script/dev` | Start backend + frontend |
|
|
| `./script/test` | Run E2E tests |
|
|
|
|
## dev
|
|
|
|
Starts:
|
|
1. Backend REPL on port 3000 with nREPL on 7888
|
|
2. Auto-reload enabled
|
|
3. Frontend dev server on port 5173
|
|
|
|
Features:
|
|
- Ctrl+C stops everything
|
|
- Shows local IP for phone testing
|
|
- File changes auto-reload backend
|
|
|
|
## test
|
|
|
|
Runs Playwright tests with test database and ports.
|
|
|
|
```bash
|
|
./script/test # All tests
|
|
./script/test -- --headed # Visible browser
|
|
./script/test -- --ui # Interactive
|
|
./script/test -- tests/file.ts # Specific file
|
|
```
|