alissonsleal / react-typescript-boilerplate

React Typescript Boilerplate with ESLint and Prettier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Typescript Boilerplate

I created this boilerplate to increase my productivity when creating a typescript react app.

I'm using the Airbnb default lint option.

Main Dependencies

  • 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

Main Developer Dependencies

  • Eslint 6.8.0
  • Prettier 2.1.2
  • Eslint-config-prettier 6.12.0
  • Eslint-config-airbnb 18.2.0

How to use

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

About

React Typescript Boilerplate with ESLint and Prettier


Languages

Language:HTML 53.3%Language:TypeScript 40.3%Language:JavaScript 6.3%