coffee-boots
Coffee-boots: watch and compile CoffeeScript code
Last updated 7 years ago by jiyinyiyong .
BSD · Repository · Original npm · Tarball · package.json
$ cnpm install coffee-boots 
SYNC missed versions from official npm registry.

Coffee-boots: watch and compile CoffeeScript code

This is a Rain-boots based plugin for CoffeeScript.
You may know more about it by reading docs of Convert-boots.

Usage

coffee = require("coffee-boots").rain
coffee.emit "watch",
  from: "a.coffee"
  to: "a.js"

coffee.emit "convert",
  from: "a.coffee"
  to: "a.js"

coffee.emit "watch",
  from: "a-dir"
  to: "b-dir"

coffee.emit "convert",
  from: "a-dir"
  to: "b-dir"

Events you may trigger:

  • watch: watch file and convert file on file change
  • convert: convert file at once

Parameters: more details in Convert-boots project

  • from: the filename or directory name of .coffee file
  • to: the destination, filename of directory correspond to from

Current Tags

  • 0.0.0                                ...           latest (7 years ago)

1 Versions

  • 0.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |