1.5.1 • Published 3 years ago

lilith-cli v1.5.1

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

Lilith

  • 一个零配置webpack编译工具(类似 create-react-app);
  • 提供 react 和 vue 的两种编译方式,默认为 react 编译模式;
  • 一个页面模板构建工具,并且模板可以独立运行(类似 umi block);

exmaple

  • example/lilith-tempate lilith 模板 demo
  • example/overwrite-webpack-config lilith 重写 webpack demo
  • example/vue lilith vue 编译 demo
  • example/lilith-template-vue lilith 模板 vue demo

命令说明

Usage: lilith [options] [command]

Options:
  -v, --version                   version
  --root <string>                 模板所在根目录,相对目录,基于context来获取root的绝对路径,默认值"_template" (default: "_template")
  --context <string>              lilith.config.js文件所在目录 > 优先级package.json所在目录 > process.cwd() (default: process.cwd())
  --target <string>               新生成模块的输出路径,相对process.cwd(),默认"." (default: ".")
  --template <string>             当前使用的模板,模板可选范围即root下面指定的模板,支持简写即当前有模板page那么p,pa,pag等效
  --name <string>                 新生成模块的名称
  --mode <string>                 编译模式 template dev build (default: "dev")
  --type <string>                 创建的模版类型
  -h, --help                      output usage information

Commands:
  new <template> <name> [target]  Lilith 模板创建命令
  run <mode> [source]             lilith 编译命令
  create [<templateName>]

Examples:
  $ lilith run dev
  $ lilith run dev
  $ lilith new template someTemplate
1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.2.10

3 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago