18 lines
1.8 KiB
JavaScript
18 lines
1.8 KiB
JavaScript
|
/// <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"),
|
||
|
figlet: require("figlet")
|
||
|
});
|
||
|
}
|
||
|
module.exports = plugins;
|
||
|
|
||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUU1QyxJQUFJLE9BQU8sR0FBTztJQUNkLE1BQU0sRUFBRSxPQUFPLENBQUMsUUFBUSxDQUFDO0lBQ3pCLFFBQVEsRUFBRSxPQUFPLENBQUMsVUFBVSxDQUFDO0lBQzdCLENBQUMsRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDO0NBQ2xCLENBQUM7QUFDRixFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLE1BQU0sRUFBRSxDQUFDLE1BQU0sQ0FBQyxDQUFBLENBQUM7SUFDbEMsT0FBTyxHQUFHLE9BQU8sQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLE9BQU8sRUFBQztRQUNwQyxRQUFRLEVBQUcsT0FBTyxDQUFDLFlBQVksQ0FBQztRQUNoQyxNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztRQUN6QixHQUFHLEVBQUUsT0FBTyxDQUFDLFdBQVcsQ0FBQztRQUN6QixNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztLQUM1QixDQUFDLENBQUM7QUFDUCxDQUFDO0FBQ0QsaUJBQVMsT0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