A React/Flux project and code generator.
npm install -g starter-react-flux
starter-react-flux init // Setup a new react and flux project.
starter-react-flux generate component [Component_Name] // Generate a React Component file.
starter-react-flux generate container [Container_Name] // Generate a Container file.
starter-react-flux generate store [Store_Name] // Generate a ReduceStore file.
starter-react-flux generate action [ActionCreators_Name] // Generate a ActionCreators file.
starter-react-flux generate test // Generate test files from your components.
npm start // Webpack-dev-server
npm test // Jest
npm run lint // ESLint
npm run build // Build for production
.
├── .babelrc
├── .eslintrc
├── __tests__
├── app
│ ├── App.js
│ ├── actions
│ ├── components
│ ├── constants
│ ├── dispatcher
│ ├── stores
│ └── utils
├── node_modules
├── package.json
├── public
│ ├── css
│ ├── img
│ ├── index.html
│ └── js
└── webpack.config.js
- MIT