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
indent_style = space
indent_size = 2
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

File diff suppressed because it is too large Load Diff

View File

@ -1,48 +1,49 @@
{
"name": "betterzon",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^10.2.3",
"@angular/common": "^10.2.3",
"@angular/compiler": "^10.2.3",
"@angular/core": "^10.2.3",
"@angular/forms": "^10.2.3",
"@angular/platform-browser": "^10.2.3",
"@angular/platform-browser-dynamic": "^10.2.3",
"@angular/router": "^10.2.3",
"angular-cli": "^1.0.0-beta.28.3",
"ng": "0.0.0",
"rxjs": "~6.6.0",
"tslib": "^2.0.3",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.1100.1",
"@angular/cli": "^10.2.0",
"@angular/compiler-cli": "^10.2.3",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.19.4",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "^4.0.5"
}
"name": "betterzon",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^10.2.3",
"@angular/cli": "^10.2.0",
"@angular/common": "^10.2.3",
"@angular/compiler": "^10.2.3",
"@angular/core": "^10.2.3",
"@angular/forms": "^10.2.3",
"@angular/platform-browser": "^10.2.3",
"@angular/platform-browser-dynamic": "^10.2.3",
"@angular/router": "^10.2.3",
"axios": "^0.21.0",
"ng": "0.0.0",
"rxjs": "~6.6.0",
"tslib": "^2.0.3",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.1100.2",
"@angular/cli": "^10.2.0",
"@angular/compiler-cli": "^10.2.3",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.19.8",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"typescript": "<4.1.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0"
}
}

View File

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

View File

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

View File

@ -1,15 +1,25 @@
import { Component, OnInit } from '@angular/core';
import {Component, OnInit} from '@angular/core';
@Component({
selector: 'app-product-list-component',
templateUrl: './product-list-component.component.html',
styleUrls: ['./product-list-component.component.css']
selector: 'app-product-list-component',
templateUrl: './product-list-component.component.html',
styleUrls: ['./product-list-component.component.css']
})
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();
// };
}