I created this boilerplate to increase my productivity when creating a typescript react app.
I'm using the Airbnb default lint option.
- React 16.13.1
- Typescript 3.7.2
- React-Dom 16.13.1
- React-Icons 3.11.0
- React-Router-Dom 5.2.0
- React-Spring 8.0.27
- Styled-Components 5.2.0
- Polished 4.0.2
- Axios 0.20.0
- Eslint 6.8.0
- Prettier 2.1.2
- Eslint-config-prettier 6.12.0
- Eslint-config-airbnb 18.2.0
Clone this repo using git clone https://github.com/Alissonsleal/react-typescript-boilerplate.git <YOUR_PROJECT_NAME>
Go into your project directory cd <YOUR_PROJECT_NAME>
Remove .git to clean the git repo with rm -rf .git
in terminal, or rm .git -r -fo
in powershell
Install dependencies with yarn
or npm install
Change the name of your project inside package.json
Run your React App with yarn start
or npm run start