chenglou / pretext
Get started
Taken from the repository's own files on 24 Oct 2026. RepoPilot has not run these commands.
Prerequisites
bun (root lockfile; version not captured)from bun.lock
Commands
package.json| Task | Run | What it runs |
|---|---|---|
| start | bun run start | HOST=${HOST:-0.0.0.0}; PORT=3000; pids=$(lsof -tiTCP:$PORT -sTCP:LISTEN 2>/dev/null); if [ -n "$pids" ]; then echo "Freeing port $PORT: terminating $pids"; kill $pids 2>/dev/null || true; sleep 1; pids=$(lsof -tiTCP:$PORT -sTCP:LISTEN 2>/dev/null); if [ -n "$pids" ]; then echo "Port $PORT still busy: killing $pids"; kill -9 $pids 2>/dev/null || true; fi; fi; bun pages/*.html pages/demos/*.html pages/demos/*/index.html --host=$HOST:$PORT |
| check | bun run check | tsc && tsc -p tsconfig.build.json --noEmit && oxlint --type-aware --deny-warnings src harness pages scripts && knip && bun run scripts/generate-engine-break-data.ts --check && bun run scripts/generate-webkit-generic-families.ts --check |
Install and use
README.mdnpm install @chenglou/pretext