k-fe-plugin-init
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

项目工程初始化插件

模板地址: https://github.com/kinghoo5201/k-fe-template-component ,则使用 component 作为模板名来传入 fe init component

Getting Started

  • $ fe init fe-cli-too会自动安装该插件

使用

  • $ fe init 初始化项目(会有二次选择过程)
  • $ fe init xxxhttps://github.com/kinghoo5201/k-fe-template-xxx 初始化项目
  • $ fe init --git=git@github.com:xxxx.git 从具体的 git 地址中 clone 并初始化项目
  • $ fe init -s 静默模式,仅初始化目录文件

API

模板预留坑位字符串

  • IRIM_AUTHOR 作者
  • IRIM_EMAIL 邮箱
  • IRIM_PROJECT_NAME 项目名称(默认是当前的目录名称)
  • IRIM_DESCRIPTION 项目描述
  • IRIM_GMT_CREATE 创建时间 yyyy/mm/dd HH: MM 格式
  • IRIM_GIT 项目repository.url

Package Sidebar

Install

npm i k-fe-plugin-init

Weekly Downloads

1

Version

0.1.10

License

BSD-3-Clause

Unpacked Size

21.9 kB

Total Files

14

Last publish

Collaborators

  • kinghoo