@davidlazic/generator-webpack-react
v1.0.6
Published
React/Redux webpack generator
Downloads
18
Maintainers
Readme
generator-webpack-react
React app generator
Installation
First, install Yeoman and generator-webpack-react using npm (we assume you have pre-installed node.js).
Tested with node v8.6.0
npm install -g yo
npm install -g @davidlazic/generator-webpack-react
Then generate your new project:
yo webpack-react
Environment tasks
| Environment | Command | Description | | ----------- |:-----------------:| ----------- | | Local | npm run local | Run local Node / React with hot reloading enabled. | Development | npm run dev | Run non-minified DEV build. | QA | npm run qa | Run minified QA build (same as PROD build for testing). | Production | npm run prod | Run production build.
Other tasks
| Task | Command | Description |
| ------- |:-------------------:| ----------- |
| Clean | npm run clean | Clean dist
project directory.
| ESLint | npm run lint | Run ES6 error linter.
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT © David Lazic