/react-giphy

Primary LanguageJavaScript

react-boilerplate

Simple react starter with the following config:

  • React, ReactDOM
  • Webpack 4
  • 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