A template project for Next.js 15 + React 19
Category
Technology
Framework
Next.js 15, React 19
Language
TypeScript 5.9
Styling
Tailwind CSS 4
Form
React Hook Form, Zod
Testing
Vitest, Testing Library, Playwright (VRT)
Storybook
Storybook 10
Linter / Formatter
Biome, Prettier
Git Hooks
Lefthook, Commitlint
Package Manager
pnpm 10
mise install
pnpm install
Command
Description
pnpm dev
Start development server (Turbopack)
pnpm build
Build for production
pnpm build:analyze
Build for production with bundle analysis
pnpm start
Start production server
Command
Description
pnpm storybook
Start Storybook development server
pnpm storybook:build
Build Storybook
Command
Description
pnpm test
Run unit tests
pnpm test:vrt
Run visual regression tests
pnpm test:vrt:update
Update VRT snapshots
pnpm test:vrt:report
Show VRT report
Command
Description
pnpm typecheck
Type check
pnpm lint
Run linter (Biome)
pnpm lint:fix
Run linter with auto-fix
pnpm format
Check code formatting
pnpm format:fix
Format code automatically
pnpm check
Run Biome check and Prettier
pnpm check:fix
Run Biome check and Prettier with fixes
Command
Description
pnpm generate
Generate component (plop)
Visual Regression Testing with Playwright and Storybook
Start the Playwright container before running tests:
pnpm test:vrt # Run VRT
pnpm test:vrt:update # Update VRT snapshots
pnpm test:vrt:report # Show VRT report (localhost:9001)
Specify snapshot save path:
SNAPSHOT_PATH=/main/add-button pnpm test:vrt # Run with custom snapshot path
SNAPSHOT_PATH=/main/add-button pnpm test:vrt:update # Update with custom snapshot path