update dependencies and restructure code
This commit is contained in:
13
ts/index.ts
13
ts/index.ts
@@ -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;
|
||||
*/
|
||||
Reference in New Issue
Block a user