CLI · check
cem check
Type-check, lint and format-check in a single rapid pipeline. Perfect for pre-commit hooks and CI.
bash
cem checkEquivalent to npm run check.
Output
[CEM] cem check type · lint · format
──────────────────────────────────────────────────────
◆ Type check (tsc)… ✔ 384ms
◆ Lint (eslint)… ✔ 1.12s
◆ Format check (prettier)… ✔ 240ms
──────────────────────────────────────────────────────
◆ All checks passed. (3/3)On failure
Each tool's raw output is printed inline directly under the failing step — no need to scroll or re-run individual commands to find the cause.
Use in CI
yaml
# .github/workflows/ci.yml
- run: npm ci
- run: npx cem check
- run: npx cem build