Skip to content
/ eden Public template

Frontend Starter Template: React + Vite

Notifications You must be signed in to change notification settings

tejastn10/eden

Repository files navigation

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR (Hot Module Replacement) and includes preconfigured ESLint rules, Husky, Commitlint, and Prettier for a streamlined development experience.

Features

  • React: A JavaScript library for building user interfaces.
  • TypeScript: A strongly typed programming language that builds on JavaScript.
  • Vite: A fast build tool and development server.
  • ESLint: A tool for identifying and fixing linting issues in your code.
  • Husky: Git hooks made easy, enabling pre-commit hooks.
  • Commitlint: Helps ensure that your commit messages follow a consistent format.
  • Prettier: An opinionated code formatter.

Getting Started

Installation

npm install

Development

Start the development server:

npm run dev

Build

Build the project for production:

npm run build

Linting

Lint the project with ESLint:

npm run lint

Formatting

Format the project with Prettier:

npm run format

Pre-configured Tools

ESLint Configuration

The project comes with a pre-configured ESLint setup. If you are developing a production application.

Husky

Husky is set up to run pre-commit hooks, ensuring that your code meets the defined standards before each commit.

Commitlint

Commitlint is configured to enforce a consistent commit message format.

Prettier

Prettier is set up to automatically format your code, ensuring a consistent code style across the project.

Additional Resources

About

Frontend Starter Template: React + Vite

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published