Template Starter Files

Copy the files in this repo directly into your starter project.

Dependencies to install are listed below

Core App

Code Linting & Formatting

  • eslint
  • prettier

Build System & Project

  • github workflow
  • gitignore
  • package.json
    • dependencies
    • dev dependencies
    • scripts
  • webpack
    • (babel config)
  • env variables
  • src folder
  • public folder

Dependencies

npm i react react-dom react-router-dom

Dev Dependencies

Linting & Formatting

npm i -D eslint@latest
npm i -D eslint-config-prettier@latest
npm i -D eslint-plugin-babel@latest
npm i -D eslint-plugin-react@latest
npm i -D prettier@latest

Webpack

Webpack Docs

Core
npm i -D webpack@latest
npm i -D webpack-cli@latest
npm i -D webpack-dev-server@latest
Loaders and Plugins
npm i -D @babel/core@latest
npm i -D @babel/plugin-proposal-class-properties@latest
npm i -D @babel/plugin-transform-runtime@latest
npm i -D @babel/preset-env@latest
npm i -D @babel/preset-react@latest
npm i -D @babel/eslint-parser@latest
npm i -D autoprefixer@latest
npm i -D babel-loader@latest
npm i -D clean-webpack-plugin@latest
npm i -D copy-webpack-plugin@latest
npm i -D css-loader@latest
npm i -D dotenv@latest
npm i -D file-loader@latest
npm i -D html-webpack-plugin@latest
npm i -D postcss-import@latest
npm i -D postcss-loader@latest
npm i -D postcss-nested@latest
npm i -D prop-types@latest
npm i -D style-loader@latest
npm i -D url-loader@latest

Router

React Router v6