# generator-ng2

> Yeoman generator

Latest version **2.6.1** (published 2017-04-07) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.6.1 |
| Published | 2017-04-07 |
| First published | 2015-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rubén Aguilera Díaz-Heredero |
| Maintainers | raguilera82 |
| Keywords | yeoman-generator |

## Links

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

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [yosay](https://npm.io/package/yosay.md) ^1.0.2
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.19.0

## Recent versions

- 2.6.1 (latest) — 2017-04-07
- 2.5.9 — 2016-06-28
- 2.5.8 — 2016-06-02
- 2.5.7 — 2016-05-27
- 2.5.6 — 2016-05-24
- 2.5.5 — 2016-05-23
- 2.5.4 — 2016-05-23
- 2.5.2 — 2016-05-14
- 2.5.1 — 2016-05-06
- 2.5.0 — 2016-05-06
- 2.0.0-rc.1 — 2016-05-06
- 2.4.0 — 2016-04-08
- 2.3.0 — 2016-04-08
- 2.2.0 — 2016-03-30
- 2.1.0 — 2016-03-23
- … 19 more at https://npm.io/package/generator-ng2/versions

## README

Please use @angular/cli instead of that

# generator-ng2
Yeoman generator for getting started with Angular 2 the easiest way.

> [Yeoman](http://yeoman.io) generator


## Getting Started

### What is Yeoman?

Trick question. It's not a thing. It's this guy:

![](http://i.imgur.com/JHaAlBJ.png)

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the [npm](https://npmjs.org) package repository. You only have to ask for him once, then he packs up and moves into your hard drive. *Make sure you clean up, he likes new and shiny things.*

```bash
npm install -g yo
```

### Yeoman Generators

Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.

To install generator-ng2 from npm, run:

```bash
npm install -g generator-ng2
```

###Create project

After that, create project folder:

```bash
mkdir app_name && cd app_name
```
And run this generator:

```bash
yo ng2
```

After a while, you can launch these commands.

All commands are npm tasks in package.json:

* npm run test -> execute tests with Karma + Coverage + PhantomJS
* npm run live -> show app with livereload thank to live-server
* npm run pro -> prepare app for production in dist folder
* npm run clean -> delete build folder
* npm run compile -> compile TypeScript to JavaScript
* npm run compile-w -> compile TypeScript to JavaScript when files change
* npm run lint -> show syntax errors

## Technologies

JSPM + SystemJS + Karma + TypeScript + Typings + Angular 2.0.0-rc.1 + Gulp

## License
Released under the MIT license: opensource.org/licenses/MIT

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