$ npm i -g gen-simple-reactapp
$ gen-simple-reactapp <projectName>
or
$ npx gen-simple-reactapp <projectName>
$ yarn add react react-dom
$ yarn add cross-env
$ yarn add webpack webpack-cli webpack-dev-server --dev
$ yarn add html-webpack-plugin terser-webpack-plugin --dev
$ yarn add @babel/runtime
$ yarn add @babel/core @babel/preset-env @babel/preset-react @babel/plugin-transform-runtime --dev
$ yarn add babel-loader babel-plugin-module-resolver --dev
$ yarn add eslint eslint-config-airbnb eslint-import-resolver-babel-module eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react --dev
$ yarn add prettier --dev
$ vi .gitignore
$ vi .babelrc
$ vi .eslintrc.json
$ vi .prettierrc
$ vi webpack.config.js
$ yarn add typescript @babel/preset-typescript --dev
$ yarn add @typescript-eslint/eslint-plugin @typescript-eslint/parser --dev
$ vi tsconfig.json
webpack build, webpack watch 등
"scripts": {
"dev": "cross-env NODE_ENV=development webpack serve --mode development --open",
"build": "cross-env NODE_ENV=production webpack --mode production"
},