smartlog-destination-local/ts/beautylog.plugins.ts

17 lines
442 B
TypeScript
Raw Normal View History

2016-02-23 13:34:40 +00:00
/// <reference path="./typings/main.d.ts" />
var plugins:any = {
lodash: require("lodash"),
smartenv: require("smartenv"),
q: require("q")
};
if (plugins.smartenv.getEnv().isNode){
plugins = plugins.lodash.assign(plugins,{
cliTable: require("cli-table2"),
colors: require("colors"),
clc: require("cli-color"),
2016-05-13 23:18:44 +00:00
figlet: require("figlet"),
ora: require("ora")
2016-02-23 13:34:40 +00:00
});
}
export = plugins;