@gaopeng123/rtc-cli
TypeScript icon, indicating that this package has built-in type declarations

0.3.6 • Public • Published

介绍

命令

rtc create <template> // 创建项目

rtc c <template> 
    
rtc createModule <module> // 创建模块

rtc cm <module> 

rtc list  // 查看命令支持

rtc ls

插件依赖

插件 目的
chalk 美化输入输出
prompts 用户信息输入
download-git-repo 远程模板下载
cac cli指令
lodash.template 处理模板
ora loading效果
fast-glob 文件名读取

模板支持

模板

react-sample

filename

react-electron

filename

react-screen

filename

flutter-repo

filename

components-repo

filename

function-repo

filename

模块

table

  • Store: 定义数据state及action
  • typing:定义数据类型相关
  • api:服务端相关
  • styles.module:定义样式相关
  • components:定义组件相关
    • TableForm:弹窗内部form表单
    • TableModal:弹窗组件
    • Table:表格组件

function

依赖function-repo,开发函数库,包含jest测试等功能。上传到npm

rc-component

依赖components-repo,开发react组件,包含开发测试环境,自动检测变更上传等功能。上传到npm

web-component

依赖components-repo,开发web组件,包含开发测试环境,自动检测变更上传等功能。上传到npm

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.6
    1
    • latest

Version History

Package Sidebar

Install

npm i @gaopeng123/rtc-cli

Weekly Downloads

1

Version

0.3.6

License

MIT

Unpacked Size

20.8 kB

Total Files

5

Last publish

Collaborators

  • gaopeng123