编写脚手架cli经常使用的三方包

commander

https://github.com/tj/command...vue

一个用来作命令号工具的三方包,能够帮你简化对用户参数的输入与处理。node

inquirer

https://github.com/SBoudrias/...git

一个用来作交互式问答的库。场景例如,vue-cli或者createReactApp脚手架中,问你选哪一个模板,是否用typescript等。github

chalk

https://github.com/chalk/chalk
粉笔,美化工具,能够为你在命令行中输出的内容,增色添彩。vue-cli

ora

https://github.com/sindresorh...
Loading库,主要用于远程拉取文件时候,给用户一个loading提示。typescript

Semver

https://github.com/semver/semver
能够用来判断,node版本是否符合要求。工具

相关文章
相关标签/搜索