@curlytag/curlytag
v0.1.0
Published
CurlyTag - Open Source JavaScript Template Engine
Readme
curlytag
CurlyTag - Open Source JavaScript Template Engine
Development
This project uses Vite+ for formatting (Oxfmt), linting (Oxlint), and commit hooks.
Using Dev Container (recommended)
Open the project in VS Code and select "Reopen in Container". The container will automatically:
- Install Node.js (LTS)
- Install
vpCLI (Vite+) - Install project dependencies
After the container starts, you're ready to work.
Without Dev Container
Install Vite+:
macOS / Linux:
curl -fsSL https://vite.plus | bashWindows:
irm https://vite.plus/ps1 | iexInstall dependencies:
vp installSet up commit hooks:
vp config
Commands
vp check # Format, lint, and type-check
vp check --fix # Auto-fix formatting and lint issues
vp lint # Lint only
vp fmt # Format only
vp test # Run tests onceDevelopment Workflow
Run tests in watch mode — tests re-run automatically on file changes:
vp test --watchRun tests with a browser UI for interactive exploration:
vp test --ui --watch[!NOTE]
The UI starts at
http://localhost:51204/__vitest__/and stays open as long as the process is running. Always use--watchtogether with--ui, otherwise the server exits right after the test run.
