Development

Available Scripts

Core Scripts

Command

Description

yarn dev

Start development server

yarn build

Build for production

yarn generate

Generate static site

yarn preview

Preview production build

Code Quality Scripts

Command

Description

yarn lint

Run ESLint

yarn lint:fix

Fix ESLint issues

yarn format

Format code with Prettier

yarn format:fix

Fix Prettier formatting

Code Quality Tools

This project maintains high code quality through:

  • ESLint — JavaScript/TypeScript linting with @nuxt/eslint

  • Prettier — Consistent code formatting

  • Husky — Git hooks for automated quality checks

  • lint-staged — Run linters only on staged files

  • TypeScript — Type-safe development

Note

Pre-commit hooks automatically run linting and formatting on staged files!