This is Yeoman generator for app of React Redux with basic scaffolding and structure of files and UI libraries options.
- Ant Design
- Material UI
Install Yeoman and generator using npm
npm install -g yo generator-create-rr
Create as many as project using react redux generator
yo create-rr
It will Ask few Questions like below
- Project name:
- Application version
- Which UI library wants to use
- etc
Once project is created it will have few commands predefined.
to run scripts you can use yarn or npm both
npm run start // To Start Project
npm run build // To make a Build
npm run test // Unit test
npm run coverage // Unit test coverage
npm run lint // Lint issues at once
npm run lintfix // fix fixable issue by lint auto
npm run build-css // Generate css from scss
npm run watch-css // Generate css and watch changes from scss
npm run eject // Caution: will eject all config files.if you want to exclude react-scripts
Project is created using rewired version of react-scripts which gives webpack.config.extend.js files where you can extend the Webpack settings without ejecting it.