- Clone the repository
- Run
npm install
- Run
npm start
to start the development server - Run
npm run lint
to check for linting errors - Run
npm run lint:fix
to fix linting errors npm run build
to build the project for production
- I have created a separate branch for each feature. You can use the branch that you need for your project.
- Branch names are sequentially numbered for easy reference.
- All feautures are available into the main branch if you want to use all features.
- I will keep updating this repository with more features by creating a new branch for each new feature.
Following are the steps about how this repository is created for enthusiasts who want to create their own setup from scratch.
- npm init -y
- npm install webpack webpack-cli --save-dev
- create public/index.html
- create src/index.js
- create webpack.dev.js
npm install html-webpack-plugin --save-dev
npm install webpack-dev-server --save-dev
npm i --save-dev style-loader css-loader
- Babel libraries for React and ES6
- npm install @babel/core @babel/preset-env @babel/preset-react --save-dev
- Babel loader for Webpack
- npm install babel-loader --save-dev
- React libraries
- npm install react react-dom
- Add eslint plugin for React
- npm install eslint-plugin-react --save-dev