# emblem-brunch

> Adds Emblem.js support to brunch.

Latest version **0.1.1** (published 2013-02-27) · 0 weekly downloads

## Install

```sh
npm install emblem-brunch
pnpm add emblem-brunch
yarn add emblem-brunch
bun add emblem-brunch
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2013-02-27 |
| First published | 2013-02-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ~0.6.10 \|\| 0.8 \|\| 0.9 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Alex Matchneer |
| Maintainers | machty |

## Links

- npm: https://www.npmjs.com/package/emblem-brunch
- Repository: git@github.com:machty/emblem-brunch
- Homepage: https://github.com/machty/emblem-brunch
- npm.io page: https://npm.io/package/emblem-brunch

## Dependencies (2)

- [jsdom](https://npm.io/package/jsdom.md) 0.2
- [coffee-script](https://npm.io/package/coffee-script.md) 1.4.0

## Recent versions

- 0.1.1 (latest) — 2013-02-27
- 0.1.0 — 2013-02-08

## README

## emblem-brunch

Adds [Emblem](http://emblemjs.com/) support to [brunch](http://brunch.io).

## Installation

Add `"emblem-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
`"emblem-brunch": "git+https://github.com/machty/emblem-brunch.git"`.

Download [Emblem](http://emblemjs.com) and [Handlebars](http://handlebarsjs.com).

## Usage

```coffeescript
exports.config =
  files:
    # ...
    templates:
      precompile: true
      root: 'templates'
      defaultExtension: 'emblem'
      joinTo: 'javascripts/app.js'
      paths:
        # If you don't specify jquery and ember there,
        # raw (non-Emberized) Handlebars templates will be compiled.
        jquery: 'vendor/scripts/jquery-1.9.0.min.js'
        ember: 'vendor/scripts/ember-latest.js'
        handlebars: 'handlebars.js'
        emblem: 'emblem.js'
```

### With Ember

Require templates in your main script.

```coffeescript
require 'templates/application'
require 'templates/index'
```

This will configure `Ember.TEMPLATES` automatically.

### Without Ember

Require templates where you need them.

```coffeescript
index_template = require 'templates/index'
```

## Credits

Based on [handlebars-brunch](https://github.com/brunch/handlebars-brunch) and
[ember-precompiler-brunch](https://github.com/chrixian/ember-precompiler-brunch).

---
_Source: https://npm.io/package/emblem-brunch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
