update dependencies and restructure code

This commit is contained in:
2016-06-09 01:38:22 +02:00
parent bb926b7319
commit a7035a56fc
7 changed files with 50 additions and 34 deletions

View File

@@ -2,10 +2,11 @@
import plugins = require("./projectinfo.plugins");
var projectinfo:any = {};
//classes
import ProjectinfoNPM = require("./projectinfo.npm");
projectinfo.npm = function(cwdArg,optionsArg){
return new ProjectinfoNPM(cwdArg,optionsArg);
//npm
import {ProjectinfoNpm} from "./projectinfo.classes.npm";
export {ProjectinfoNpm} from "./projectinfo.classes.npm";
export let npm = function(cwdArg,optionsArg){
return new ProjectinfoNpm(cwdArg,optionsArg);
};
//quick functions
@@ -24,6 +25,4 @@ projectinfo.git = function(){
projectinfo.mojo = function(){
};
*/
export = projectinfo;
*/