denim-react-app
v0.0.4
Published
Formidable react template for denim
Downloads
66
Maintainers
Keywords
Readme
denim-react-app
ReactJS application starter template for use with denim
Features
- 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.importcode splitting- Loaders:
babel, css, style, postcss, json, file, url
Usage
- If not already installed, install
denim(npm install -g denim) - From your command line, run
denim denim-react-app cdinto your created app directory- Run
yarnornpm install - Run
npm run devand openlocalhost:3000to view your running application
Scripts
npm run build- Builds a production version of your applicationnpm run dev- Starts your development servernpm run lint- Eslint checks your codenpm run prod- Starts your production server, serves your build foldernpm run test- Runs Mocha tests & coverage
