cmss-react-app
A Node Command Line Tool to auto generate a react-redux-fetch web structure.
Includes:
- react
- redux
- axios
- mock.js
- eslint
- webpack
Install
npm install cmss-react-app -g
Usage
case 1
cmss-react-app <project name>
Then
cd <project name>npm installnpm run mock
case 2
cmss-react-app -c <project name>
Then
configure the package.json file, input and enter.
Then
cd <project name>npm installnpm run mock
Now you can develop your app...
Options
Usage: cmss-react-app [options] <project name> Options: -c, --config config package.json -h, --help output usage information -V, --version output the version number
Example
cmss-react-app appcd appnpm installnpm run mock
RUN MODE
npm run server
npm run mock
npm run build
npm run eslint