# ember-cli-jstransform

> Use jstransform to preprocess your ember-cli app's files.

Latest version **3.0.0** (published 2015-01-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-cli-jstransform
pnpm add ember-cli-jstransform
yarn add ember-cli-jstransform
bun add ember-cli-jstransform
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2015-01-06 |
| First published | 2014-06-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | @aexmachina |
| Maintainers | aexmachina |
| Keywords | ember-addon, es6 |

## Links

- npm: https://www.npmjs.com/package/ember-cli-jstransform
- Repository: https://github.com/aexmachina/ember-cli-jstransform
- Issues: https://github.com/aexmachina/ember-cli-jstransform/issues
- npm.io page: https://npm.io/package/ember-cli-jstransform

## Dependencies (1)

- [broccoli-jstransform](https://npm.io/package/broccoli-jstransform.md) ^3.0.0

## Recent versions

- 3.0.0 (latest) — 2015-01-06
- 2.0.0 — 2014-11-17
- 1.0.4 — 2014-10-21
- 1.0.3 — 2014-09-23
- 1.0.2 — 2014-09-23
- 1.0.1 — 2014-08-25
- 1.0.0 — 2014-07-03
- 0.1.1 — 2014-06-24
- 0.1.0 — 2014-06-24

## README

# ember-cli-jstranform

An [ember-cli](https://github.com/stefanpenner/ember-cli) addon for applying [jstransform](https://github.com/facebook/jstransform) transformations, such as transpiling ES6 to ES5.

## Installation

```bash
npm install --save-dev ember-cli-jstransform
```

## Usage

By default this addon will perform all the included transforms (see the `.transforms` option below).

Or, if you want more control then you can specify options using the `jstranformOptions` config property:

```
var app = new EmberApp({
  ...
  jstransformOptions: {...}
});
```

### Options

* `.transforms` (array): An array of jstransform transformations
  to be performed. Defaults to the full set of transforms included in jstranform.
  Options are:

  es6-arrow-function  
  es6-class  
  es6-destructuring  
  es6-object-concise-method  
  es6-object-short-notation  
  es6-rest-param  
  es6-template  
  es7-spread-property  
* `.visitors`: An array of custom tranforms. If `.transforms` is specified 
  then this option is ignored.
* `.ignoredFiles`: An array of file paths to ignore. These are included
  in the output tree without being transformed. [Glob patterns](https://github.com/isaacs/minimatch) 
  can be used.
* `.extensions`: File extensions to transform. Defaults to '.js'
* `.sourceMap`: Create source maps (experimental)

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