Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

FormidableLabs/formidable-react-starter

Repository files navigation

Build Status Build status Coverage Status

#react-app-starter

ReactJS application starter

##Features

This setup is heavily inspired by what's generated by create-react-app

  • Lint: eslint-config-formidable
  • Test: Karma/Mocha/Sinon/Chai/Enzyme
  • Hot Reloading
  • CSS Modules
  • PWA Features (manifest, sw-precache, app icons)
  • Polyfills
  • React Router v4
  • React Helmet
  • Babel (stage-0, react, 2015, constant-elements)
  • Webpack 2
    • System.import code splitting
    • Loaders: babel, css, style, postcss, json, file, url

##Usage

  • Run yarn or npm install
  • Run npm run dev and open localhost:3000 to view your running application

Scripts

  • npm run build - Builds a production version of your application
  • npm run dev - Starts your development server
  • npm run lint - Eslint checks your code
  • npm run prod - Starts your production server, serves your build folder
  • npm run test - Runs Mocha tests & coverage