An open API service indexing awesome lists of open source software.

https://github.com/gughog/react-with-typescript-template

This is a template for React with Typescript, ESLint (airbnb config), Prettier and other additions.
https://github.com/gughog/react-with-typescript-template

eslint jest prettier react template typescript

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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:

```json
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.3"
```

- Development dependencies:

```json
"@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"
```