Skip to content

qyjandroid/react-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to quanyj-react-cli 👋

Version License: ISC

react项目脚手架

Prerequisites

  • npm >=6.14.6
  • node >=12.18.4

项目目录结构

react-cli
├──  src
│ │  ├──index.js # 源码导出
│ │  ├──commands # 命令集合
│ │  │  └──CreateCommand.js # 项目命令类
│ │  ├──utils #  命令工具目录
│ │  │  ├──index.js # 命令工具包集合
│ │  │  └──config.js # 项目模板git目录配置以及交互命令配置
├── yarn.lock # 锁定 npm 包依赖版本文件
├── package.json
└──  README.md

Tips

  • 项目流程:

  • 检查文件夹

  • 下载react-project-tmp 模板

  • 拷贝文件到指定目录

  • 修改项目中的package.json中的name,author 等字段

  • 初始化git

  • 删除临时文件

  • 安装项目依赖

Install

npm install quanyj-react-cli -g

Usage

react-cli create 项目名称 -f

Author

👤 quanyj qyjandroid@163.com

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published