Skip to content

1hkr/react-flats

Repository files navigation

react-boilerplate

Simple react starter with the following config:

  • React, ReactDOM
  • Webpack 3
  • Babel with es2015 and react presets
  • Bootstrap (css only, loaded from a cdn in index.html)
  • work with .js or .jsx files
  • main application.scss stylesheet is imported in index.js as a module to enjoy hot reloading

Scripts

To start the local Webpack Dev Server (usually on port 8080):

yarn start

To lint all JavaScript files in the src folder:

yarn lint

To build and deploy your app to gh-pages branch on the GitHub repo:

yarn deploy