Re-initialized the project with angular-cli and set it up as the build tool chain.

This commit is contained in:
Manuel Friedli 2017-04-08 00:24:44 +02:00
parent 6dd65fd488
commit 17afa92bfe
80 changed files with 6584 additions and 621 deletions

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

@ -0,0 +1,14 @@
import { ConvFriedliInfoPage } from './app.po';
describe('conv.friedli.info App', () => {
let page: ConvFriedliInfoPage;
beforeEach(() => {
page = new ConvFriedliInfoPage();
});
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 ConvFriedliInfoPage {
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"
]
}
}