项目作者: metal

项目描述 :
Command line tools for metal (e.g. build, soy)
高级语言: JavaScript
项目地址: git://github.com/metal/metal-cli.git
创建时间: 2015-12-02T19:15:32Z
项目社区:https://github.com/metal/metal-cli

开源协议:Other

下载


metal-cli

Command line tools for metal (e.g. build, soy).

Install

  1. $ npm install --global metal-cli

Commands

You can see information about each supported command by typing $ metal --help in the command line. Below you’ll find some of that info too.

build

  1. $ metal build

Builds Metal.js code, compiling soy files and transpiling ES6 to ES5 for example. The default output format is globals, but that can be be changed via params, just like many other options. For more details, run $ metal build --help.

watch

  1. $ metal watch

Watches soy and js files, building them when they change. The default output format is globals, but that can be be changed via params, just like many other options. For more details, run $ metal watch --help.

soy

  1. $ metal soy

Compiling soy files and automatically makes them export generated components. For more details, run $ metal soy --help.