smartlog-destination-local/dist/beautylog.plugins.js

19 lines
2.0 KiB
JavaScript
Raw Normal View History

2016-02-23 13:34:40 +00:00
/// <reference path="./typings/main.d.ts" />
var plugins = {
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-02-23 14:40:18 +00:00
figlet: require("figlet"),
hlight: require("hlight")
2016-02-23 13:34:40 +00:00
});
}
module.exports = plugins;
2016-02-23 14:40:18 +00:00
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUU1QyxJQUFJLE9BQU8sR0FBTztJQUNkLE1BQU0sRUFBRSxPQUFPLENBQUMsUUFBUSxDQUFDO0lBQ3pCLFFBQVEsRUFBRSxPQUFPLENBQUMsVUFBVSxDQUFDO0lBQzdCLENBQUMsRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDO0NBQ2xCLENBQUM7QUFDRixFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLE1BQU0sRUFBRSxDQUFDLE1BQU0sQ0FBQyxDQUFBLENBQUM7SUFDbEMsT0FBTyxHQUFHLE9BQU8sQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLE9BQU8sRUFBQztRQUNwQyxRQUFRLEVBQUcsT0FBTyxDQUFDLFlBQVksQ0FBQztRQUNoQyxNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztRQUN6QixHQUFHLEVBQUUsT0FBTyxDQUFDLFdBQVcsQ0FBQztRQUN6QixNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztRQUN6QixNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztLQU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