0.0.8 • Published 4 years ago

jing-cli v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

jing-cli

一个轻量级的初始化项目工具

Installation

npm install jing-cli -g

Usage

打开终端输入jing 或者 jing -h , 展示 jing-cli 的command列表:

  Usage: jing <command>


  Commands:

    list   List all the templates
    init   Generate a new project

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

init

通过这个command可以去选择模版然后初始化项目

? Project name: projectName
? Select template: vue2.x
? Project description: A description of project!
? Server Port: random
? Where to init the project: ./

  jing ·  Generated "projectName".

# Project has been initialized successfully!
# ==========================================

To Get Started:

  cd projectName
  npm install
  npm run dev
  npm run build

展示所有的模版列表

NameTemplateBranch
vuevue-templatemaster
mapvuempvue-templatemaster
uniappuni-app-templatemaster

Template

vue-template      ->  vue模版
mpvue-template    ->  mpvue模版
uni-app-template  ->  uniapp模版
...
持续更新中

License

MIT.