diff --git a/README.md b/README.md new file mode 100644 index 0000000..f2ce886 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# Angularfire2WebpackErrors + +This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.11-webpack.2. + +## Development server +Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. + +## Code scaffolding + +Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class`. + +## Build + +Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. + +## Running unit tests + +Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). + +## Running end-to-end tests + +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). +Before running the tests make sure you are serving the app via `ng serve`. + +## Deploying to Github Pages + +Run `ng github-pages:deploy` to deploy to Github Pages. + +## Further help + +To get more help on the `angular-cli` use `ng --help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/angular-cli.json b/angular-cli.json index 966be75..3855c30 100644 --- a/angular-cli.json +++ b/angular-cli.json @@ -1,7 +1,7 @@ { "project": { "version": "1.0.0-beta.11-webpack.2", - "name": "angularfire2-webpack-errors" + "name": "angularfire2-webpack-errors-solved" }, "apps": [ { diff --git a/e2e/app.e2e-spec.ts b/e2e/app.e2e-spec.ts index 468e537..a13ddbd 100644 --- a/e2e/app.e2e-spec.ts +++ b/e2e/app.e2e-spec.ts @@ -1,10 +1,10 @@ -import { Angularfire2WebpackErrorsPage } from './app.po'; +import { Angularfire2Webpackerrors-solvedPage } from './app.po'; -describe('angularfire2-webpack-errors App', function() { - let page: Angularfire2WebpackErrorsPage; +describe('angularfire2-webpack-errors-solved App', function() { + let page: Angularfire2Webpackerrors-solvedPage; beforeEach(() => { - page = new Angularfire2WebpackErrorsPage(); + page = new Angularfire2Webpackerrors-solvedPage(); }); it('should display message saying app works', () => { diff --git a/e2e/app.po.ts b/e2e/app.po.ts index ee2a0b2..4f82178 100644 --- a/e2e/app.po.ts +++ b/e2e/app.po.ts @@ -1,4 +1,4 @@ -export class Angularfire2WebpackErrorsPage { +export class Angularfire2Webpackerrors-solvedPage { navigateTo() { return browser.get('/'); } diff --git a/package.json b/package.json index a3d9202..ed313a5 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "angularfire2-webpack-errors", + "name": "angularfire2-webpack-errors-solved", "version": "0.0.0", "license": "MIT", "angular-cli": {}, @@ -20,7 +20,9 @@ "@angular/platform-browser": "2.0.0-rc.5", "@angular/platform-browser-dynamic": "2.0.0-rc.5", "@angular/router": "3.0.0-rc.1", + "angularfire2": "^2.0.0-beta.4", "core-js": "^2.4.0", + "firebase": "^3.3.0", "reflect-metadata": "0.1.3", "rxjs": "5.0.0-beta.6", "ts-helpers": "^1.1.1", diff --git a/src/app/app.component.html b/src/app/app.component.html index b6931b5..95f09af 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,3 +1,16 @@ -