@julong/cmd
v1.0.8
Published
react_project
Downloads
5
Readme
react cli
react project generator
stack
react, redux, react-router, webpack, stylus, css-modules(only stylus file), eslint(airbnb), prettier, husky
stack(option)
typescript or es(babel), antDesign
install global
npm install -g @julong/cmd
# or
yarn global add @julong/cmd
install local
npx @julong/cmd init
generator project
gen_react init
# or
gen_react i
generator page
gen_react page
# or
gen_react p
generator component
gen_react component
# or
gen_react c
script
npm run start #local
npm run build:prod #production
npm run build:dev #development
npm run build:test #test
npm run lint #code lint
npm run fix #code fix
npm run analyze #bundle file analyze
run process
- setting command options
- make diretory
- genarator env file
- genarator source file
- install