React Boilerplate
Includes
- webpack
- eslint
- babel
- jest
- less
- webpack-dev-server (optional)
- lite-server (browserSync wrapper, preferred method)
- istanbul
Installation
$ git clone https://github.com/mikeerickson/cd-react-boilerplate
$ npm install
Tasks
$ gulp less // build less (dont want in js stream)
$ gulp eslint // stand alone linting (also covered with webpack)
$ gulp mocha // non jest tests
$ gulp copy // copy assets to destination (fonts, vendor, index)
Tests
$ npm test // all tests via jest, mocha and istanbul
or
$ gulp mocha
$ jest
License MIT
Credits
cd-react-boilerplate written by Mike Erickson
E-Mail: codedungeon@gmail.com
Twitter: @codedungeon
Website: codedungeon.org