This Git repository serves as a starting template for projects using TypeScript, React, Jest, Husky, ESLint, and Prettier. It's designed to help you kickstart your development with a solid foundation for front-end development.
- TypeScript: Utilizing the TypeScript language to add static types to your JavaScript code.
- React: A JavaScript library for building interactive user interfaces.
- Jest: A testing framework for writing unit and integration tests.
- Husky: Used to trigger scripts before Git commits to ensure code quality.
- ESLint: A JavaScript/TypeScript linter to enforce consistent coding standards.
- Prettier: A code formatting tool to maintain a uniform code style.
To start a new project using this template, follow these steps:
- Clone this repository to your local machine:
git clone [[Repository URL]](https://github.com/BFlorian91/react-typescript-starter/)
cd react-typescript-starterpnpm install
# or
# npm install- You are ready to start coding! You can run the project using:
pnpm start
# or
# npm start- Before making a commit, make sure to adhere to coding standards by running:
pnpm run lint- You can also run unit tests using:
pnpm testIf you wish to contribute to this template, you are welcome! Please submit pull requests or issues to report problems or suggest improvements.
This template is licensed under the MIT License.
