Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/e-jigsaw/sweet-js-brunch

Adds Sweet.js support to brunch
https://github.com/e-jigsaw/sweet-js-brunch

Last synced: 17 days ago
JSON representation

Adds Sweet.js support to brunch

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/e-jigsaw/sweet-js-brunch.png?branch=master)](https://travis-ci.org/e-jigsaw/sweet-js-brunch)
[![NPM version](https://badge.fury.io/js/sweet-js-brunch.png)](http://badge.fury.io/js/sweet-js-brunch)
[![Dependency Status](https://david-dm.org/e-jigsaw/sweet-js-brunch.png)](https://david-dm.org/e-jigsaw/sweet-js-brunch)
[![devDependency Status](https://david-dm.org/e-jigsaw/sweet-js-brunch/dev-status.png)](https://david-dm.org/e-jigsaw/sweet-js-brunch#info=devDependencies)

sweet-js-brunch
===============

Adds [Sweet.js](https://github.com/mozilla/sweet.js) support to [brunch](http://brunch.io).

## Installation

Install the plugin via npm with `npm install --save sweet-js-brunch`.

* Add `"sweet-js-brunch": "x.y.z"` to `package.json` of your brunch app.
Pick a plugin version that corresponds to your minor (y) brunch version.
* If you want to use git version of plugin, add
`"sweet-js-brunch": "git+ssh://[email protected]:e-jigsaw/sweet-js-brunch.git"`.

## Configuration

### `sourceMap`

```coffee
exports.config =
plugins:
sweet:
sourceMap: yes #=> boolean
```

### `modules`

```coffee
exports.config =
plugins:
sweet:
modules: ['./lib/awesome.js']
```

### `readableNames`

```coffee
exports.config =
plugins:
sweet:
readableNames: yes #=> boolean
```