I made this thinking in my own development process but feel free to use it if you want ๐
Installing:
git clone https://github.com/guidovizoso/react-boilerplate.git
npm install
Commands:
npm run dev /* Runs webpack dev server and live reloading */
npm run start /* Runs webpack in production mode with optimizations */
โโโ src
โย ย โโโ index.js // Renders everything
โย ย โโโ App.jsx // Main component
โย ย โโโ App.css // Main component styles (one stylesheet per component)
โย ย โโโ assets // Images and stuff goes here
โโโ dist // Compiled files goes here
โโโ package.json
โโโ .babelrc
โโโ .eslintrc
โโโ webpack.common.js
โโโ webpack.dev.js
โโโ webpack.prod.js
โโโ .gitignore
- Default project > master branch
- SASS project > sass branch
- PostCSS project > postcss branch
- Webpack
- Babel (env, react and stage-0)
- React
- Styled Components
- ESlint
- Initial version
- Img support
- Optional SASS and PostCSS
- Optional Heroku and Now integration
- Testing support
๐ฌ Made by Guido Vizoso <https://www.linkedin.com/in/guidovizoso/>