Migrated the tool chain to angular-cli and updated all dependencies to their latest versions.

This commit is contained in:
Manuel Friedli 2017-04-15 09:38:23 +02:00
parent 6dd65fd488
commit 038b42c967
68 changed files with 6266 additions and 909 deletions

14
e2e/app.e2e-spec.ts Normal file
View file

@ -0,0 +1,14 @@
import { ConvertorizrPage } from './app.po';
describe('convertorizr App', () => {
let page: ConvertorizrPage;
beforeEach(() => {
page = new ConvertorizrPage();
});
it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('app works!');
});
});

11
e2e/app.po.ts Normal file
View file

@ -0,0 +1,11 @@
import { browser, element, by } from 'protractor';
export class ConvertorizrPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}

12
e2e/tsconfig.e2e.json Normal file
View file

@ -0,0 +1,12 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es5",
"types":[
"jasmine",
"node"
]
}
}