diff --git a/demo/.angular-cli.json b/demo/.angular-cli.json index d61da85..54e0586 100644 --- a/demo/.angular-cli.json +++ b/demo/.angular-cli.json @@ -36,13 +36,16 @@ }, "lint": [ { - "project": "src/tsconfig.app.json" + "project": "src/tsconfig.app.json", + "exclude": "**/node_modules/**" }, { - "project": "src/tsconfig.spec.json" + "project": "src/tsconfig.spec.json", + "exclude": "**/node_modules/**" }, { - "project": "e2e/tsconfig.e2e.json" + "project": "e2e/tsconfig.e2e.json", + "exclude": "**/node_modules/**" } ], "test": { diff --git a/demo/package.json b/demo/package.json index 86bfeaf..57c3c04 100644 --- a/demo/package.json +++ b/demo/package.json @@ -12,29 +12,29 @@ }, "private": true, "dependencies": { - "@angular/animations": "^4.0.0", - "@angular/common": "^4.0.0", - "@angular/compiler": "^4.0.0", - "@angular/core": "^4.0.0", - "@angular/forms": "^4.0.0", - "@angular/http": "^4.0.0", - "@angular/platform-browser": "^4.0.0", - "@angular/platform-browser-dynamic": "^4.0.0", - "@angular/router": "^4.0.0", + "@angular/animations": "^5.0.0", + "@angular/common": "^5.0.0", + "@angular/compiler": "^5.0.0", + "@angular/core": "^5.0.0", + "@angular/forms": "^5.0.0", + "@angular/http": "^5.0.0", + "@angular/platform-browser": "^5.0.0", + "@angular/platform-browser-dynamic": "^5.0.0", + "@angular/router": "^5.0.0", "ngx-type-ahead": "^1.0.1", + "bootstrap": "^4.0.0-beta.2", "core-js": "^2.4.1", - "rxjs": "^5.1.0", - "zone.js": "^0.8.4" + "rxjs": "^5.5.2", + "zone.js": "^0.8.14" }, "devDependencies": { - "@angular/cli": "1.2.0", - "@angular/compiler-cli": "^4.0.0", - "@angular/language-service": "^4.0.0", + "@angular/cli": "1.5.2", + "@angular/compiler-cli": "^5.0.0", + "@angular/language-service": "^5.0.0", "@types/jasmine": "~2.5.53", "@types/jasminewd2": "~2.0.2", "@types/node": "~6.0.60", - "bootstrap": "^4.0.0-beta.2", - "codelyzer": "~3.0.1", + "codelyzer": "~4.0.1", "jasmine-core": "~2.6.2", "jasmine-spec-reporter": "~4.1.0", "karma": "~1.7.0", @@ -44,8 +44,8 @@ "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.1.2", - "ts-node": "~3.0.4", - "tslint": "~5.3.2", - "typescript": "~2.3.3" + "ts-node": "~3.2.0", + "tslint": "~5.7.0", + "typescript": "~2.4.2" } } diff --git a/demo/src/app/app.component.ts b/demo/src/app/app.component.ts index edbb048..e2a7b78 100644 --- a/demo/src/app/app.component.ts +++ b/demo/src/app/app.component.ts @@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { DataService } from './data.service'; import { ICountry } from './countries'; -import { Observable } from 'rxjs'; +import { Observable } from 'rxjs/Observable'; import { TypeaheadSettings } from 'ngx-type-ahead'; @Component({ diff --git a/demo/src/app/app.module.ts b/demo/src/app/app.module.ts index c617232..df0a1bf 100644 --- a/demo/src/app/app.module.ts +++ b/demo/src/app/app.module.ts @@ -4,7 +4,7 @@ import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { ReactiveFormsModule } from '@angular/forms'; import { DataService } from './data.service'; -import { TypeaheadModule } from '../../../index'; +import { TypeaheadModule } from 'ngx-type-ahead'; @NgModule({ declarations: [