@titian-design/cli
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Titian Cli

提供基础的 startbuildrelease 命令

当执行命令时,会加载指定的 compiler 包,例如: @titian-design/compiler@titian-design/wechat-compiler;

配置

设置 titian.config.ts

import type { UserConfig } from '@titian-design/cli';

const config: UserConfig = {
  // compiler: join(__dirname, 'packages/compiler'),
  compiler: '@titian-design/wechat-compiler',
};

运行命令

{
  "scripts": {
    "start": "titian-cli start",
    "build": "titian-cli build",
    "release": "titian-cli release"
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @titian-design/cli

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

82.2 kB

Total Files

27

Last publish

Collaborators

  • zniu
  • suntgr
  • robbeluo
  • weimob-group