diff --git a/addon/ng2/blueprints/ng2/files/README.md b/addon/ng2/blueprints/ng2/files/README.md new file mode 100755 index 000000000000..b8c43d313795 --- /dev/null +++ b/addon/ng2/blueprints/ng2/files/README.md @@ -0,0 +1,30 @@ +# <%= jsComponentName %> + +This project is generated with [angular-cli](https://github.com/angular/angular-cli) version <%= version %> + +## Build + +Run `ng build` for building. The build artifacts will be stored in the `dist/` directory. + +## Development +Run `ng serve` for preview. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. + +If you wish to use the live-reload feature, +``` +ng serve --port 4201 --live-reload-port 49153 +``` +If you wish to read more about the environment configuration please refer, [Environments](https://github.com/angular/angular-cli#environments) + +## Running unit tests + +Running `ng test` will run the unit tests with karma. +[Click here](https://github.com/angular/angular-cli#running-unit-tests) for more details. + +## Running end-to-end tests + +Running `ng e2e` will run end to end tests via Protractor. Before running the tests make sure you are serving the app via `ng serve`. +[Click here](https://github.com/angular/angular-cli#running-end-to-end-tests) for more details. + +## Further help + +To get more help on the `angular-cli` use `ng --help` or go to [angular-cli](https://github.com/angular/angular-cli). diff --git a/addon/ng2/blueprints/ng2/files/gitignore b/addon/ng2/blueprints/ng2/files/gitignore old mode 100644 new mode 100755 index 3422917e0af7..a72accc5d0eb --- a/addon/ng2/blueprints/ng2/files/gitignore +++ b/addon/ng2/blueprints/ng2/files/gitignore @@ -27,3 +27,54 @@ testem.log #System Files .DS_Store Thumbs.db + +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# Eclipse Core +.project + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/