justinsisley / Hotness

A starter project using React, Flux, CSS modules, PostCSS, webpack, and hot module reloading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hotness

Build Status bitHound Score bitHound Dependencies

A clean React and Flux boilerplate that uses:

Dependencies

This application requires Node.js and NPM.

npm install

To perform a clean install, in which the project is returned to a pre-built state with fresh dependencies installed, run:

npm run clean

Development

Run the application in development mode:

npm start

View the development application at http://localhost:8743.

Production

Run the application in production mode:

npm run production

View the production application at http://localhost:8743.

Generate documentation

npm run docs

Then open ./esdoc/index.html in a browser.

Running tests

Unit tests

Unit tests use tape, and React components are tested using shallow rendering.

Run unit tests with npm test.

End-to-end tests

End-to-end tests use Nightwatch, and are used for testing page components.

Run end-to-end tests with npm run e2e. This will run tests in Firefox and Chrome in parallel. Make sure you have both Firefox and Chrome installed.

Considerations

Handling static assets

About

A starter project using React, Flux, CSS modules, PostCSS, webpack, and hot module reloading


Languages

Language:JavaScript 94.3%Language:CSS 2.6%Language:HTML 1.8%Language:Shell 1.4%