Start React JS
A quick start toolkit for creating react.js components, Based on - KRASIMIR TSONEV A modern React starter pack based on webpack with several modifications like ES7 / Next syntax for static props in libaries
The aim of this repository is to provide a template for developing React based applications using ES6 syntax and webpack as a module bundler.
- Bundles React with
jsx
syntax - Compiles ES6 (with Babel)
- Linting (with ESLint)
- Build with webpack
- Multiple entrypoints -- separate your component(s) vendor imports
- Test with Mocha, Chai and Sinon
- Use Karma to run the tests
- Develop locally with webpack-dev-server
- Download the files and place them in your project directory
- Run
npm i
to install the dependencies - Run
npm run build
to build the project - Run
npm run dev
to build the project, start watching files and run the local server - Run
npm test
to run the tests once - Run
npm run test:ci
to watch thesrc
directory for changes and run the tests