1.1.3 • Published 6 years ago
react-generator-sc v1.1.3
react-generator-sc
introduction
react-generator-sc
: It's a cli forreact
, similar like vue-cli and more like Angular cli, since it can not only build project itselft but also build components. So we can call it asa full-stack cli
.templates
: The templates are base on create-react-app, if you hava any good idea about templates, feel free to reach out to me.
how to use?
1. installation
npm i react-generator-sc -g
2. init project
if yourProjectName is null, when you run sc i
, it will create a project called myApp by default.
sc i [yourProjectName]
other commands
sc g c [yourComponentName]
sc g p [yourPageName]
test
npm run start
Here're some issue you may meet in devoloping cli
- fs.copy(), copy and replace in batch
- define projectFolder and apply to your project
- fetch arguments in terminal
- the way to change .npmigore to .gitignore
updates
- Add
__TEST__
folder in src andhomepage
property in package.json 12/26/2018 - Add mockup-server and auto-created resful api, and all the mockup data will be stored in file
db.json
. You just need to runyarn start
and get the new features. 01/03/2019
contact me
If you have any issue in using this cli, please write to me directly, will reply to you when available. My email is mbp98k@gmail.com
License MIT © Scott Xiong
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
7 years ago
1.0.4
7 years ago