1.0.7 • Published 6 years ago

react-component-types v1.0.7

Weekly downloads
7
License
ISC
Repository
-
Last release
6 years ago

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
1.0.7

6 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago