npm i react react-dom react-router-dom -Snpm i cross-env -DDev dependencies which are required for the webpack setup to run:
npm i typescript webpack webpack-cli webpack-dev-server webpack-merge ts-loader ts-node ts-jest html-webpack-plugin clean-webpack-plugin copy-webpack-plugin mini-css-extract-plugin sass sass-loader css-loader style-loader -DWebpack setup dependencies types:
npm i @types/webpack -DJest, jest cli handy tests filtering, mocking imports:
npm i jest jest-watch-typeahead identity-obj-proxy jest-environment-jsdom -Dnpm i @types/react @types/react-dom -DAdditional testing types (RTL, RTL-Jest, Hooks, User event):
npm i @types/jest @testing-library/dom @testing-library/jest-dom @testing-library/react @testing-library/user-event -DCode linting (JS, prettier powered):
npm i eslint eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-webpack-plugin eslint-plugin-prettier eslint-config-prettier -DCode linting (CSS prettier powered):
npm i stylelint stylelint-config-css-modules stylelint-prettier stylelint-webpack-plugin -DTypes for the code linting (JS, CSS):
npm i @typescript-eslint/eslint-plugin @typescript-eslint/parser -Dnpm i prettier husky -DHusky also requires additional setup for git hooks.