formidable-react-starter
formidable-react-starter copied to clipboard
React starter application
#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
ornpm install
- Run
npm run dev
and openlocalhost: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