fix(CI): update CI build

This commit is contained in:
2018-09-01 16:40:42 +02:00
parent fa0d5af74e
commit 79a3420aa5
10 changed files with 175 additions and 427 deletions

View File

@@ -1,39 +1,40 @@
import * as plugins from './smartnpm.plugins'
import * as plugins from './smartnpm.plugins';
export class NpmPackage {
name: string = null
scope: string = null
version: string = null
description: string = null
keywords: string[] = null
date: '2017-08-02T11:22:49.144Z'
name: string = null;
scope: string = null;
version: string = null;
description: string = null;
keywords: string[] = null;
date: '2017-08-02T11:22:49.144Z';
links: {
npm: string
homepage: string
repository: string
bugs: string
} = null
npm: string;
homepage: string;
repository: string;
bugs: string;
} = null;
author: {
name: 'Lossless GmbH'
} = null
name: 'Lossless GmbH';
} = null;
publisher: {
username: 'gitzone', email: 'npm@git.zone'
} = null
maintainers: any = null
username: 'gitzone';
email: 'npm@git.zone';
} = null;
maintainers: any = null;
score: {
final: number,
final: number;
detail: {
quality: number,
popularity: number,
maintenance: number
}
} = null
searchScore: number = null
quality: number;
popularity: number;
maintenance: number;
};
} = null;
searchScore: number = null;
constructor (descriptionArg) {
constructor(descriptionArg) {
for (let key in descriptionArg) {
if (this[key] === null) {
this[key] = descriptionArg[key]
this[key] = descriptionArg[key];
}
}
}