# generator-es2015

> ES2015 projects with BabelJS, Mocha and Istanbul

Latest version **0.0.1** (published 2015-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-es2015
pnpm add generator-es2015
yarn add generator-es2015
bun add generator-es2015
```

## 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.0.1 |
| Published | 2015-06-16 |
| First published | 2015-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dominik Schreiber |
| Maintainers | dominikschreiber |
| Keywords | yeoman, es2015, es6 |

## Links

- npm: https://www.npmjs.com/package/generator-es2015
- Repository: https://github.com/dominikschreiber/generator-es2015
- Homepage: https://github.com/dominikschreiber/generator-es2015#readme
- Issues: https://github.com/dominikschreiber/generator-es2015/issues
- npm.io page: https://npm.io/package/generator-es2015

## Dependencies (2)

- [babel](https://npm.io/package/babel.md) ^5.5.8
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.20.1

## Recent versions

- 0.0.1 (latest) — 2015-06-16

## README

# generator-es2015

[![travis build](https://img.shields.io/travis/dominikschreiber/generator-es2015.svg?style=flat-square)](http://travis-ci.org/dominikschreiber/generator-es2015)
[![coveralls report](https://img.shields.io/coveralls/dominikschreiber/generator-es2015.svg?style=flat-square)](https://coveralls.io/r/dominikschreiber/generator-es2015)
[![npm package](https://img.shields.io/npm/v/generator-es2015.svg?style=flat-square)](https://npmjs.org/package/generator-es2015)
[![MIT license](https://img.shields.io/github/license/dominikschreiber/generator-es2015.svg?style=flat-square)](https://github.com/dominikschreiber/generator-es2015/blob/master/LICENSE)
[![twitter link](https://img.shields.io/badge/twitter-@domischreib-55acee.svg?style=flat-square)](https://twitter.com/@domischreib)

Generate ES2015 projects that transpile your code using
[BabelJS](https://babeljs.io) and can directly be tested with
[Mocha](http://mochajs.org) and [Istanbul](https://gotwarlost.github.io/istanbul).

## get started

This generator assumes you have *nodejs* and *npm* installed (get it at
[nodejs.org](https://nodejs.org/download)), as well as
[yeoman](https://yeoman.io) (get it with `[sudo] npm i -g yo`).

Install the es2015 generator globally to quickly start new projects
wherever you want:

```bash
[sudo] npm i -g generator-es2015
```

Then start the new project with

```bash
yo es2015
```

## the project

`yo es2015` creates a project where your es2015 sources are located in
`src/main` and the es2015 tests are located in `src/test`.

```bash
npm start
```

compiles everything from `src/main` to `lib/` and everything from
`src/test` to `test/`.

```bash
npm test
```

does the same but also runs the tests from `test/` against the generated
code in `app/` (so don't worry if you don't get 100% test coverage, babeljs
adds code to make your es2015 stuff happen in es5). 

## license

This project is [MIT-licensed](https://github.com/dominikschreiber/generator-es2015/blob/master/LICENSE).

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