This is a starting point for making ReactJS Apps. It's a basic app with a single image asset and "Hello World". It also includes a working test.
Use it to skip all the boring bootstrapping and start coding.
- Webpack to bundle all the things
- Sass loaders for stylesheets
- Normalize.css for stylesheet resetting
- JSX for writing React
- Karma for running tests
- Mocha for the framework
- Chai as the assertion library
- Mocha with diffing for report running
- Enzyme testing utilities
Requires Node.js to run.
$ git clone https://github/bsdavidson/react-starter
$ cd react-starter
$ npm i
Build for distribution
$ npm run dist
Start webpack dev server
$ npm run start
Run test once
$ npm run test
Run continous tests
$ npm run test-watch