generator-angular2-quickstart

0.4.3 • Public • Published

#Angular2 quickstart yeoman generator

A simple angular2 generator based of of the quickstart tutorial from angular.io https://angular.io/docs/ts/latest/quickstart.html

Current version: 2.0.0-rc.4 (2016-06-30)

##Directory structure

  • app
    |-- app.component.ts
    |-- main.ts
  • node_modules ( after npm install )
  • typings ( after npm install )
    |- index.html
    |- package,json
    |- styles.css
    |- systemjs.config.js
    |- tsconfig.json
    |- typings

##Getting started

Navigate into the folder for your project

> npm install -g generator-angular2-quickstart ( you will need nodejs for this step )

> yo angular2-quickstart ( you will need yeoman for this step > npm install -g yo )

> npm start

##Extras

There are 3 extra options you can use with the generator

  1. skip-install: > yo angular2-quickstart --skip-install

    Skips npm install. You will need to manually run the npm install command

  2. npmstart: > yo angular2-quickstart --npmstart

    Will automagically run the npm start command , transpile the typescript and launch the browser with the newly generated app.

  3. vscode: > yo angular2-quickstart --vscode

    Will launch visual studio code once it has completed the generation of the project.

##Roadmap

Will try keep this upto date with changes in the quickstart tutorial.

Package Sidebar

Install

npm i generator-angular2-quickstart

Weekly Downloads

21

Version

0.4.3

License

ISC

Last publish

Collaborators

  • 4tron