Template to build apps using React TypeScript Sass Jest ESlint Prettier.
These instructions will get you a copy of the template.
Remember to delete the existing README.md file and rename and update the README-template.md file.
Please check the .eslintrc and .prettierrc files and update the rules with your favourite flavours.
If you want to know how to use environment variables click here: https://create-react-app.dev/docs/adding-custom-environment-variables/#adding-development-environment-variables-in-env.
Use this repo as template, click on:
Use this template
or
Code
Intall all the dependencies:
npm i
Then start the app template
npm start
At this point you should see in the browser the React App template.
Now you have just to start building your app.
This template comes with Jest framework pre-intalled.
To run the tests:
npm run test
Please consider that Jest is intended to be used for unit tests of your logic and your components rather than the DOM quirks.
If you want to know how to customize Jest coverage click here: https://create-react-app.dev/docs/running-tests#configuration
- React - The web framework used
- Create-React-App - The React bootstrap used
- Npm - Package manager
- Typescript - Programming language
- ESlint - JS and TS linter
- Prettier - Code formatter
- Jest - Testing framework
- Alessandro Corra - Template final version - alecorra
This project is licensed under the MIT License - see the LICENSE.md file for details
- Billie Thompson - README template - PurpleBooth