gughog / react-with-typescript-template

This is a template for React with Typescript, ESLint (airbnb config), Prettier and other additions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Template with Typescript

This repository contains the template for my personal React + Typescript setup for projects.

Feel free to suggest modifications! :-P

To use

Just clone this repository with git clone https://github.com/gughog/react-with-typescript-template.git and then do a yarn install inside the cloned project and when It's done just cd to the directory and start the development server with yarn start. Happy coding!

List of pre-installed packages:

  • Normal Dependencies:
  "react": "^16.13.1",
  "react-dom": "^16.13.1",
  "react-scripts": "^3.4.3"
  • Development dependencies:
  "@commitlint/cli": "^9.1.2",
  "@commitlint/config-conventional": "^11.0.0",
  "@testing-library/jest-dom": "^4.2.4",
  "@testing-library/react": "^9.3.2",
  "@testing-library/user-event": "^7.1.2",
  "@typescript-eslint/eslint-plugin": "^2.31.0",
  "@typescript-eslint/parser": "^2.31.0",
  "eslint-config-airbnb": "^18.1.0",
  "eslint-config-prettier": "^6.11.0",
  "eslint-config-react-app": "^5.2.1",
  "eslint-import-resolver-typescript": "^2.0.0",
  "eslint-plugin-import": "^2.20.2",
  "eslint-plugin-jsx-a11y": "^6.3.1",
  "eslint-plugin-prettier": "^3.1.3",
  "eslint-plugin-react": "^7.20.3",
  "husky": "^4.3.0",
  "prettier": "^2.0.5",
  "typescript": "~3.7.2"

About

This is a template for React with Typescript, ESLint (airbnb config), Prettier and other additions.


Languages

Language:JavaScript 53.3%Language:HTML 32.2%Language:TypeScript 14.6%