Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aleclarson/lotus-coffee


https://github.com/aleclarson/lotus-coffee

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

        

# lotus-coffee v2.3.0 [![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)

A plugin for [**lotus**](https://github.com/aleclarson/lotus) that transpiles CoffeeScript files and copies all other files into a build directory.

This version require `lotus` v4.0.0 or higher.

### Command-line API

To expose the `lotus coffee` command, you must include `lotus-coffee` in the "plugins" array in your global `lotus.config.json` file (which resides in $LOTUS_PATH).

```sh
lotus coffee module-name

# If already in the `module-name` directory, you can do this:
lotus coffee .
```

### Usage with `lotus-watch`

For every `package.json` that has `lotus-coffee` in its "plugins" array, the `lotus watch` command will watch & compile any added/changed *.coffee files.