ljj-generate-template

模板生成器

Usage no npm install needed!

<script type="module">
  import ljjGenerateTemplate from 'https://cdn.skypack.dev/ljj-generate-template';
</script>

README

用到的库

  • commander:node.js command-line interfaces made easy。 命令行框架,提供了用户命令行输入和参数解析强大功能,commander.js 中文文档

  • download-git-repo: Download and extract a git repository (GitHub, GitLab, Bitbucket) from node。 从 GitHub, GitLab, Bitbucket 下载一个 git 仓库

  • chalk:Terminal string styling done right。 用于修改控制台字符串的样式,包括字体样式(加粗),颜色以及背景颜色等。

  • Inquirer: A collection of common interactive command line user interfaces。 交互式命令行工具

  • fs-extra:adds file system methods that aren't included in the native fs fs 方法的扩充库

  • ora: Elegant terminal spinner

常见问题

1、'git clone' failed with status 128

github 地址

https://github.com/LJJCherry/create-react-app-template.git

download 配置地址:

https://github.com:LJJCherry/create-react-app-template#master