update to meet newest standards

This commit is contained in:
2016-11-26 14:45:56 +01:00
parent fcd559090a
commit 9030619046
22 changed files with 265 additions and 154 deletions

View File

@@ -0,0 +1,21 @@
import * as plugins from './projectinfo.plugins'
import { ProjectinfoNpm } from './projectinfo.classes.npm'
export type TProjectType = 'git' | 'npm'
/**
* class projectinfo automatically examines a given directory and exposes relevant info about it
*/
export class ProjectInfo {
type: TProjectType
npm: ProjectinfoNpm
/**
* this constructor
*/
constructor(cwdArg: string) {
this.npm = new ProjectinfoNpm(cwdArg)
}
}