-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration & Build
dagustin415 edited this page Feb 5, 2026
·
3 revisions
| Script | Command | Description |
|---|---|---|
dev |
next dev --turbopack |
Dev server with Turbopack |
build |
next build |
Production build |
start |
next start |
Production server |
lint |
next lint |
ESLint check |
lint:biome |
biome check --write . |
Biome format + lint |
typecheck |
tsc --noEmit |
TypeScript type checking |
test |
vitest run |
Unit tests |
test:watch |
vitest |
Unit tests in watch mode |
test:e2e |
playwright test |
E2E tests |
test:e2e:ui |
playwright test --ui |
E2E with interactive UI |
ci |
typecheck && lint:biome && lint && build && vitest |
Full CI pipeline |
storybook |
storybook dev -p 6006 |
Storybook dev server |
build-storybook |
storybook build |
Static Storybook |
prepare |
husky |
Install git hooks |
viz:list |
tsx scripts/create-visualization-agent.ts list |
List all visualizations |
viz:next |
tsx scripts/create-visualization-agent.ts next |
Next unimplemented viz |
viz:generate |
tsx scripts/create-visualization-agent.ts generate <id> |
Generate viz boilerplate |
viz:status |
tsx scripts/create-visualization-agent.ts status |
Viz implementation status |
{
reactStrictMode: true,
images: {
formats: ['image/avif', 'image/webp'],
},
experimental: {
optimizePackageImports: [
'lucide-react',
'@tanstack/react-query',
'zustand',
],
},
headers: [
// Security headers on all routes:
'X-Content-Type-Options: nosniff',
'X-Frame-Options: DENY',
'X-XSS-Protection: 1; mode=block',
'Referrer-Policy: strict-origin-when-cross-origin',
],
}- Strict mode enabled
- Target: ES2017
- Module resolution: Bundler
-
Path alias:
@/*maps to project root - Excludes: tests, stories, e2e from compilation
Flat config with:
-
next/core-web-vitalspreset -
next/typescriptpreset -
storybookplugin - Relaxed
no-unused-varsfor_-prefixed vars and test patterns
Runs alongside ESLint for formatting and additional linting. Configured in biome.json.
Tailwind v4 with:
- CSS variable-based design tokens
- Custom animations: fade, slide, pulse, glow, shimmer
- Content paths:
app/,components/,lib/
Managed by Husky + lint-staged:
{
"*.{js,jsx,ts,tsx}": [
"biome check --write",
"eslint --fix --max-warnings 0"
]
}- Platform: Vercel
- URL: coding-drills.vercel.app
-
Build command:
next build - Framework preset: Next.js (auto-detected)
- Node version: 18+
| Package | Version | Purpose |
|---|---|---|
next |
16.x | Framework |
react |
19.x | UI library |
@monaco-editor/react |
Latest | Code editor |
tailwindcss |
4.x | Styling |
motion |
Latest | Animations |
@mlc-ai/web-llm |
Latest | Local AI inference |
@ai-sdk/openai |
Latest | Cloud AI fallback |
@openfeature/web-sdk |
Latest | Feature flags |
zod |
Latest | Schema validation |
nuqs |
Latest | URL query state |
zustand |
Latest | State management |