Skip to content
/ react-ts-parcel Public template

React, Typescript, Standard Eslint, Parcel template

Notifications You must be signed in to change notification settings

ilovejs/react-ts-parcel

Repository files navigation

Minimal React Typescript Template + Parcel

How to use

click the green button 'Use this template'

Steps to reproduce this template

mkdir react-ts-parcel
cd react-ts-parcel
yarn init
mkdir src
yarn add -D parcel

yarn start

yarn add -D typescript @types/react @types/react-dom
yarn add react react-dom

yarn tsc --init
 - add "jsx": "react" to tsconfig.json

yarn add -D eslint
yarn eslint --init

- if u pick airbnb, u can switch to standard by remove airbnb package, then

  yarn add -D eslint-config-standard

yarn add -D @typescript-eslint/eslint-plugin eslint-plugin-react-hooks

yarn add -D rimraf

Doc

parcel v1

parcel v2

Refs

building-app-with-react-typescript-and-parcel

sass,eslint parcel-typescript-react repo

digitalOcean,babel,sass

webpack5

setting-eslint-on-a-react-typescript

declearation-svg-img-assets

About

React, Typescript, Standard Eslint, Parcel template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published