Minimal React Typescript Template + Parcel
click the green button 'Use 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
building-app-with-react-typescript-and-parcel
sass,eslint parcel-typescript-react repo