BETTERZON-33: Fixed issues with npm

This commit is contained in:
Patrick Müller 2020-12-01 22:22:09 +01:00
parent 7d9fcfd310
commit b5c9da6055
6 changed files with 982 additions and 5849 deletions

View File

@ -4,7 +4,7 @@ root = true
[*] [*]
charset = utf-8 charset = utf-8
indent_style = space indent_style = space
indent_size = 2 indent_size = 4
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,7 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^10.2.3", "@angular/animations": "^10.2.3",
"@angular/cli": "^10.2.0",
"@angular/common": "^10.2.3", "@angular/common": "^10.2.3",
"@angular/compiler": "^10.2.3", "@angular/compiler": "^10.2.3",
"@angular/core": "^10.2.3", "@angular/core": "^10.2.3",
@ -19,19 +20,19 @@
"@angular/platform-browser": "^10.2.3", "@angular/platform-browser": "^10.2.3",
"@angular/platform-browser-dynamic": "^10.2.3", "@angular/platform-browser-dynamic": "^10.2.3",
"@angular/router": "^10.2.3", "@angular/router": "^10.2.3",
"angular-cli": "^1.0.0-beta.28.3", "axios": "^0.21.0",
"ng": "0.0.0", "ng": "0.0.0",
"rxjs": "~6.6.0", "rxjs": "~6.6.0",
"tslib": "^2.0.3", "tslib": "^2.0.3",
"zone.js": "~0.10.2" "zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^0.1100.1", "@angular-devkit/build-angular": "^0.1100.2",
"@angular/cli": "^10.2.0", "@angular/cli": "^10.2.0",
"@angular/compiler-cli": "^10.2.3", "@angular/compiler-cli": "^10.2.3",
"@types/jasmine": "~3.5.0", "@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.19.4", "@types/node": "^12.19.8",
"codelyzer": "^6.0.0", "codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0", "jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0", "jasmine-spec-reporter": "~5.0.0",
@ -41,8 +42,8 @@
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0", "karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"typescript": "<4.1.0",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~6.1.0", "tslint": "~6.1.0"
"typescript": "^4.0.5"
} }
} }

View File

@ -1 +1,2 @@
<app-hello-world></app-hello-world> <app-hello-world></app-hello-world>
<app-product-list-component></app-product-list-component>

View File

@ -1,2 +1,4 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<p *ngFor="let person of testList">
{{person}}
</p>

View File

@ -1,4 +1,4 @@
import { Component, OnInit } from '@angular/core'; import {Component, OnInit} from '@angular/core';
@Component({ @Component({
selector: 'app-product-list-component', selector: 'app-product-list-component',
@ -6,10 +6,20 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./product-list-component.component.css'] styleUrls: ['./product-list-component.component.css']
}) })
export class ProductListComponentComponent implements OnInit { export class ProductListComponentComponent implements OnInit {
testList: string[];
constructor() { } constructor() {
ngOnInit(): void {
} }
ngOnInit(): void {
this.testList = ['Herbert', 'Sascha', 'Rolf'];
}
// async function getCrypto(query: object): Promise<object> {
// const url = new URL('https://backend.betterzon.xyz');
// const headers = {};
// const response = await fetch(url.toString(), {headers});
// return await response.json();
// };
} }