1.0.7 • Published 6 years ago
react-component-types v1.0.7
react-component-types
用于为react组件生成typescript声明文件
Usage
rct -d ./src
CLI
npm i -g react-component-types
Usage: rct [options] [command]
Options:
-o, --output output path
-c, --cover Whether to cover it when it exists
-d, --directory parse child directory
-h, --help output usage information
Commands:
parse <dir> A component or directory
help [cmd] display help for [cmd]
TODO
- 支持根据目录查找生成
- Jest
- 逻辑拆分
- 完善测试
- 提取注释
- travis