Yeoman generator that scaffolds simple react app
First, install Yeoman and generator-ep-react-simple using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-ep-react-simple
Then generate your new project:
yo ep-react-simple
- webpack config
- es6 support
- Sample react component
- Unit test setup using mocha
- Unit test coverage setup using istanbul
- Simple http serve to get you up and running.
# Builds project and starts http server
npm start
# Starts server and launches webpack in watch mode
npm run dev
# Run unit tests:
npm test
# Run test coverage:
npm run test:cov
# Building
npm run build
MIT © Edwin Perez