2.6.1 • Published 7 years ago

generator-ng2 v2.6.1

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

Please use @angular/cli instead of that

generator-ng2

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

Yeoman generator

Getting Started

What is Yeoman?

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

npm.io

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 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.

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:

npm install -g generator-ng2

###Create project

After that, create project folder:

mkdir app_name && cd app_name

And run this generator:

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

2.6.1

7 years ago

2.6.0

8 years ago

2.5.9

8 years ago

2.5.8

8 years ago

2.5.7

8 years ago

2.5.6

8 years ago

2.5.5

8 years ago

2.5.4

8 years ago

2.5.2

8 years ago

2.5.1

8 years ago

2.5.0

8 years ago

2.0.0-rc.1

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.9

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.0

9 years ago