🚀 Usage
After installation, you can start working on your project with the following commands.
🔥 Running in Development Mode
Start the development server:
npm run dev
To build the project for production:
npm run build
To preview the production build locally:
npm run preview
🔧 Linting & Formatting
To ensure code quality, use the following commands:
npm run lint # Run ESLint and automatically fix issues
npm run lint:check # Run ESLint without modifying files
npm run format # Format code using Prettier
npm run format:check # Check formatting without modifying files
To run all checks together (linting, formatting, and type checking):
npm run check
✅ Running Tests
Run tests once:
npm run test
Run tests in watch mode (auto re-run on changes):
npm run test:watch
Generate a test coverage report:
npm run test:coverage
📌 Type Checking
To check for TypeScript type errors, run:
npm run type-check
Now you're ready to start coding with CodeWithPablo Boilerplate! 🚀