Socket
Book a DemoInstallSign in
Socket

lilith-cli

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lilith-cli

命令行工具

1.5.1
latest
npmnpm
Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

cli

FAQs

Package last updated on 26 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.