A simple project generator with an ability to generate components and to set up basic libraries
To setup this project generator globally use the following commands
git clone https://github.com/datarockets/react-project-creator.git
cd react-project-creator
npm install -g
To generate the basic project structure use the following command
react-up new <project-name>
To generate a component
, container
, or model
use the following command
react-up generate [component|container|model] <element-name>
To generate a ui
, layout
, or page
component use the following flags
react-up generate component <element-name> [--ui|--layout|--page]
To generate redux actions
, reducers
, sagas
, and thunks
use the following flags
react-up generate redux <element-name>
<project-name>
config
public
resources
src
components
layouts
pages
ui
containers
routes
models
utils
redux
actions
reducers
sagas
thunk