update travis.yml

This commit is contained in:
LosslessBot 2016-05-02 01:41:21 +02:00
parent 309b951383
commit e80a20be70
22 changed files with 91 additions and 19 deletions

5
dist/beautylog.browser.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
export declare let log: (message: any) => void;
export declare let info: (message: any) => void;
export declare let ok: (message: any) => void;
export declare let success: (message: any) => void;
export declare let warn: (message: any) => void;

View File

@ -16,4 +16,4 @@ exports.warn = function (message) {
console.log('%c Warn: %c ' + message, "background:#000000;color:#FB8C00;", "color:#000000;"); console.log('%c Warn: %c ' + message, "background:#000000;color:#FB8C00;", "color:#000000;");
}; };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5icm93c2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0Qzs7QUFFakMsV0FBRyxHQUFHLFVBQVMsT0FBTztJQUM3QixPQUFPLENBQUMsR0FBRyxDQUFDLGFBQWEsR0FBRyxPQUFPLEVBQUMsa0NBQWtDLEVBQUMsZ0JBQWdCLENBQUMsQ0FBQztBQUM3RixDQUFDLENBQUM7QUFDUyxZQUFJLEdBQUcsVUFBUyxPQUFPO0lBQzlCLE9BQU8sQ0FBQyxHQUFHLENBQUMsY0FBYyxHQUFHLE9BQU8sRUFBQyxtQ0FBbUMsRUFBQyxnQkFBZ0IsQ0FBQyxDQUFDO0FBQy9GLENBQUMsQ0FBQztBQUNTLFVBQUUsR0FBRyxVQUFTLE9BQU87SUFDNUIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxZQUFZLEdBQUcsT0FBTyxFQUFDLG1DQUFtQyxFQUFDLGdCQUFnQixDQUFDLENBQUM7QUFDN0YsQ0FBQyxDQUFDO0FBQ1MsZUFBTyxHQUFHLFVBQVMsT0FBTztJQUNqQyxPQUFPLENBQUMsR0FBRyxDQUFDLGlCQUFpQixHQUFHLE9BQU8sRUFBQyxtQ0FBbUMsRUFBQyxnQkF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nJWMgV2FybjogJWMgJyArIG1lc3NhZ2UsXCJiYWNrZ3JvdW5kOiMwMDAwMDA7Y29sb3I6I0ZCOEMwMDtcIixcImNvbG9yOiMwMDAwMDA7XCIpO1xufTsiXX0=

8
dist/beautylog.classes.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
export declare class ConsoleTable {
tableHead: string[];
rows: any;
type: string;
constructor(tableTypeArg: string, tableHeadArrayArg?: string[]);
push(row: string[]): void;
print(): void;
}

View File

@ -51,4 +51,4 @@ var ConsoleTable = (function () {
}()); }());
exports.ConsoleTable = ConsoleTable; exports.ConsoleTable = ConsoleTable;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5jbGFzc2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0Q0FBNEM7QUFDNUMsSUFBTyxPQUFPLFdBQVcscUJBQXFCLENBQUMsQ0FBQztBQUVoRCxJQUFJLFlBQVksR0FBRztJQUNmLE9BQU8sRUFBRSxVQUFTLGNBQXlCLEVBQUMsUUFBd0I7UUFBbEQsOEJBQXlCLEdBQXpCLGtCQUF5QjtRQUFDLHdCQUF3QixHQUF4QixpQkFBd0I7UUFDaEUsSUFBSSxRQUFRLEdBQUcsRUFBRSxDQUFDO1FBQ2xCLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsQ0FBQyxjQUFjLENBQUMsRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDO1lBQ3hDLFFBQVEsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUN0QyxDQUFDO1FBQ0QsTUFBTSxDQUFDLFFBQVEsQ0FBQztJQUNwQixDQUFDO0NBQ0osQ0FBQztBQUVGO0lBSUksc0JBQVksWUFBbUIsRUFBQyx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HJpbmcgPSBcImN5YW5cIil7XG4gICAgICAgIHZhciByb3dBcnJheSA9IFtdO1xuICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IChjZWxsQ291bnRlckFyZyk7IGkrKykge1xuICAgICAgICAgICAgcm93QXJyYXkucHVzaChTdHJpbmcoaSArIDEpLmN5YW4pO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiByb3dBcnJheTtcbiAgICB9XG59O1xuXG5leHBvcnQgY2xhc3MgQ29uc29sZVRhYmxlIHtcbiAgICB0YWJsZUhlYWQ6c3RyaW5nW107XG4gICAgcm93cztcbiAgICB0eXBlOnN0cmluZztcbiAgICBjb25zdHJ1Y3Rvcih0YWJsZVR5cGVBcmc6c3RyaW5nLHRhYmxlSGVhZEFycmF5QXJnOnN0cmluZ1tdID0gdGFibGVIZWxwZXJzLm1ha2VSb3coKSkge1xuICAgICAgICBzd2l0Y2ggKHRhYmxlVHlwZUFyZykge1xuICAgICAgICAgICAgY2FzZSBcImNoZWNrc1wiOlxuICAgICAgICAgICAgICAgIHRoaXMudGFibGVIZWFkID0gWydDaGVjayBJdGVtOicuY3lhbiwnU3RhdHVzOicuY3lhbl07XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlIFwiY3VzdG9tXCI6XG4gICAgICAgICAgICAgICAgdGhpcy50YWJsZUhlYWQgPSB0YWJsZUhlYWRBcnJheUFyZztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5yb3dzID0gW107XG4gICAgICAgIHRoaXMudHlwZSA9IHRhYmxlVHlwZUFyZztcbiAgICB9XG4gICAgcHVzaChyb3c6c3RyaW5nW10pe1xuICAgICAgICB0aGlzLnJvd3MucHVzaChyb3cpO1xuICAgIH1cbiAgICBwcmludCgpIHtcbiAgICAgICAgdmFyIHRhYmxlID0gbmV3IHBs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FBQSIsImZpbGUiOiJiZWF1dHlsb2cuY2xhc3Nlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vLyA8cmVmZXJlbmNlIHBhdGg9XCIuL3R5cGluZ3MvbWFpbi5kLnRzXCIgLz5cbmltcG9ydCBwbHVnaW5zID0gcmVxdWlyZShcIi4vYmVhdXR5bG9nLnBsdWdpbnNcIik7XG5cbnZhciB0YWJsZUhlbHBlcnMgPSB7XG4gICAgbWFrZVJvdzogZnVuY3Rpb24oY2VsbENvdW50ZXJBcmc6bnVtYmVyID0gMixjb2xvckFyZzpzdHJpbmcgPSBcImN5YW5cIil7XG4gICAgICAgIHZhciByb3dBcnJheSA9IFtdO1xuICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IChjZWxsQ291bnRlckFyZyk7IGkrKykge1xuICAgICAgICAgICAgcm93QXJyYXkucHVzaChTdHJpbmcoaSArIDEpLmN5YW4pO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiByb3dBcnJheTtcbiAgICB9XG59O1xuXG5leHBvcnQgY2xhc3MgQ29uc29sZVRhYmxlIHtcbiAgICB0YWJsZUhlYWQ6c3RyaW5nW107XG4gICAgcm93cztcbiAgICB0eXBlOnN0cmluZztcbiAgICBjb25zdHJ1Y3Rvcih0YWJsZVR5cGVBcmc6c3RyaW5nLHRhYmxlSGVhZEFycmF5QXJnOnN0cmluZ1tdID0gdGFibGVIZWxwZXJzLm1ha2VSb3coKSkge1xuICAgICAgICBzd2l0Y2ggKHRhYmxlVHlwZUFyZykge1xuICAgICAgICAgICAgY2FzZSBcImNoZWNrc1wiOlxuICAgICAgICAgICAgICAgIHRoaXMudGFibGVIZWFkID0gWydDaGVjayBJdGVtOicuY3lhbiwnU3RhdHVzOicuY3lhbl07XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlIFwiY3VzdG9tXCI6XG4gICAgICAgICAgICAgICAgdGhpcy50YWJsZUhlYWQgPSB0YWJsZUhlYWRBcnJheUFyZztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5yb3dzID0gW107XG4gICAgICAgIHRoaXMudHlwZSA9IHRhYmxlVHlwZUFyZztcbiAgICB9XG4gICAgcHVzaChyb3c6c3RyaW5nW10pe1xuICAgICAgICB0aGlzLnJvd3MucHVzaChyb3cpO1xuICAgIH1cbiAgICBwcmludCgpIHtcbiAgICAgICAgdmFyIHRhYmxlID0gbmV3IHBsdWdpbnMuY2xpVGFibGUoe1xuICAgICAgICAgICAgaGVhZDogdGhpcy50YWJsZUhlYWRcbiAgICAgICAgfSk7XG4gICAgICAgIGZvciAodmFyIHJvdyBpbiB0aGlzLnJvd3Mpe1xuICAgICAgICAgICAgaWYodGhpcy5yb3dzW3Jvd11bMV0gPT0gXCJzdWNjZXNzXCIpe1xuICAgICAgICAgICAgICAgIHRoaXMucm93c1tyb3ddWzFdID0gJyAnLmJnR3JlZW4gKyAnICcgKyB0aGlzLnJvd3Nbcm93XVsxXTtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5yb3dzW3Jvd11bMV0gPT0gXCJlcnJvclwiKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5yb3dzW3Jvd11bMV0gPSAnICcuYmdSZWQgKyAnICcgKyB0aGlzLnJvd3Nbcm93XVsxXTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRhYmxlLnB1c2godGhpcy5yb3dzW3Jvd10pO1xuICAgICAgICB9O1xuICAgICAgICBjb25zb2xlLmxvZyh0YWJsZS50b1N0cmluZygpKTtcbiAgICB9XG59XG4iXX0=

40
dist/beautylog.node.d.ts vendored Normal file
View File

@ -0,0 +1,40 @@
export import log = require("./beautylog.node.log");
export import table = require("./beautylog.node.table");
export declare let figlet: (textArg: string, optionsArg?: any) => any;
export declare let figletSync: (textArg: string, optionsArg?: any) => boolean;
/**
* logs an directory to console
* @param logText
* @returns {boolean}
*/
export declare let dir: (logText: any) => boolean;
/**
* logs an error to console
* @param logText
* @returns {boolean}
*/
export declare let error: (logText: any) => boolean;
/**
* logs an info to console
* @param logText
* @returns {boolean}
*/
export declare let info: (logText: any) => boolean;
/**
* logs an 'OK!' message to console
* @param logText
* @returns {boolean}
*/
export declare let ok: (logText: any) => boolean;
/**
* logs a success to console
* @param logText string to log as error
* @returns {boolean}
*/
export declare let success: (logText: any) => boolean;
/**
* logs a 'warn:' message to console
* @param logText string to log as error
* @returns {boolean}
*/
export declare let warn: (logText: any) => boolean;

2
dist/beautylog.node.figlet.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
export declare var figlet: (textArg: string, optionsArg?: any) => any;
export declare var figletSync: (textArg: string, optionsArg?: any) => boolean;

View File

@ -37,4 +37,4 @@ exports.figletSync = function (textArg, optionsArg) {
return true; return true;
}; };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLmZpZ2xldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsNENBQTRDO0FBQzVDLElBQU8sT0FBTyxXQUFXLHFCQUFxQixDQUFDLENBQUM7QUFDaEQsSUFBSSxjQUFjLEdBQUc7SUFDakIsSUFBSSxFQUFDLFdBQVc7SUFDaEIsS0FBSyxFQUFFLE9BQU87SUFDZCxFQUFFLEVBQUUsY0FBVyxDQUFDO0NBQ25CLENBQUM7QUFDUyxjQUFNLEdBQUcsVUFBUyxPQUFjLEVBQUMsVUFBVztJQUNuRCxJQUFJLElBQUksR0FBRyxPQUFPLENBQUMsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDO0lBQzdCLElBQUksWUFBWSxHQUFHLE9BQU8sQ0FBQyxNQUFNLENBQUMsU0FBUyxDQUFDLGNBQWMsQ0FBQyxDQUFDO0lBQzVELElBQUksT0FBTyxHQUFHLE9BQU8sQ0FBQyx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ICAgICAgICAgICAgY29uc29sZS5sb2coJ1NvbWV0aGluZyB3ZW50IHdyb25nLi4uJyk7XG4gICAgICAgICAgICBjb25zb2xlLmRpcihlcnIpO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIGNvbnNvbGUubG9nKGRhdGFbb3B0aW9ucy5jb2xvcl0pO1xuICAgICAgICBvcHRpb25zLmNiKCk7XG4gICAgICAgIGRvbmUucmVzb2x2ZSgpO1xuICAgIH0pO1xuICAgIHJldHVybiBkb25lLnByb21pc2U7XG59O1xuZXhwb3J0IHZhciBmaWdsZXRTeW5jID0gZnVuY3Rpb24odGV4dEFyZzpzdHJpbmcsb3B0aW9uc0FyZz8pe1xuICAgIHZhciBtZXJnZU9wdGlvbnMgPSBwbHVnaW5zLmxvZGFzaC5jbG9uZURlZXAoZGVmYXVsdE9wdGlvbnMpO1xuICAgIHZhciBvcHRpb25zID0gcGx1Z2lucy5sb2Rhc2guYXNzaWduKG1lcmdlT3B0aW9ucyxvcHRpb25zQXJnKTtcbiAgICBjb25zb2xlLmxvZyhwbHVnaW5zLmZpZ2xldC50ZXh0U3luYyh0ZXh0QXJnLHtcbiAgICAgICAgZm9udDogb3B0aW9ucy5mb250LFxuICAgICAgICBob3Jpem9udGFsTGF5b3V0OiAnZGVmYXVsdCcsXG4gICAgICAgIHZlcnRpY2FsTGF5b3V0OiAnZGVmYXVsdCdcbiAgICB9KVtvcHRpb25zLmNvbG9yXSk7XG4gICAgcmV0dXJuIHRydWU7XG59O1xuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9 //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLmZpZ2xldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsNENBQTRDO0FBQzVDLElBQU8sT0FBTyxXQUFXLHFCQUFxQixDQUFDLENBQUM7QUFDaEQsSUFBSS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OiAnZGVmYXVsdCcsXG4gICAgICAgIHZlcnRpY2FsTGF5b3V0OiAnZGVmYXVsdCdcbiAgICB9KVtvcHRpb25zLmNvbG9yXSk7XG4gICAgcmV0dXJuIHRydWU7XG59O1xuIl19

View File

@ -55,4 +55,4 @@ exports.warn = function (logText) {
return exports.log(logText, 'warn'); return exports.log(logText, 'warn');
}; };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0Qzs7QUFFOUIsV0FBRyxXQUFXLHNCQUFzQixDQUFDLENBQUM7QUFDdEMsYUFBSyxXQUFXLHdCQUF3QixDQUFDLENBQUM7QUFFeEQsZUFBZTtBQUNmLElBQU8sWUFBWSxXQUFXLHlCQUF5QixDQUFDLENBQUM7QUFDOUMsY0FBTSxHQUFHLFlBQVksQ0FBQyxNQUFNLENBQUM7QUFDN0Isa0JBQVUsR0FBRyxZQUFZLENBQUMsVUFBVSxDQUFDO0FBQ2hEOzs7O0dBSUc7QUFDUSxXQUFHLEdBQUcsVUFBUyxPQUFPO0lBQzdCLE1BQU0sQ0FBQyxXQUFHLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQyxDQUFDO0FBQy9CLENBQUMsQ0FBQztBQUdGOzs7O0dBSUc7QUFDUSxhQUFLLEdBQUcsVUFBUyxPQUFPO0lBQy9CLE1BQU0sQ0FBQyxXQUFHLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ2pDLENBQUMsQ0FBQztBQUVGOzs7O0dBSUc7QUFDUSxZQUFJLEdBQUcsVUFBUyxPQUFPO0lBQzlCLE1BQU0sQ0FBQyxXQUFHLENBQUMsT0FBTyxFQUFFLE1BQU0sQ0FBQyxDQUFDO0FBQ2hDLENBQUMsQ0FBQztBQUVGOzs7O0dBSUc7QUFDUSxVQUFFLEdBQUcsVUFBU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IGZ1bmN0aW9uKGxvZ1RleHQpIHtcbiAgICByZXR1cm4gbG9nKGxvZ1RleHQsICd3YXJuJyk7XG59OyJdfQ==

8
dist/beautylog.node.log.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
/**
*
* @param logText
* @param logType
* @returns {boolean}
*/
declare var logFunction: (logText?: string, logType?: string) => boolean;
export = logFunction;

File diff suppressed because one or more lines are too long

2
dist/beautylog.node.table.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
declare var beautylogOsTable: any;
export = beautylogOsTable;

View File

@ -8,4 +8,4 @@ beautylogOsTable.new = function (typeArg, tableHeadArrayArg) {
}; };
module.exports = beautylogOsTable; module.exports = beautylogOsTable;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLnRhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0Q0FBNEM7QUFDNUMsSUFBTyxPQUFPLFdBQVcscUJBQXFCLENBQUMsQ0FBQztBQUVoRCxJQUFJLGdCQUFnQixHQUFPLEVBQUUsQ0FBQztBQUU5QixnQkFBZ0IsQ0FBQyxHQUFHLEdBQUcsVUFBUyxPQUFjLEVBQUMsaUJBQWtCO0lBQzdELElBQUksZUFBZSxHQUFHLElBQUksT0FBTyxDQUFDLFlBQVksQ0FBQyxPQUFPLEVBQUMsaUJBQWlCLENBQUMsQ0FBQztJQUMxRSxNQUFNLENBQUMsZUFBZSxDQUFDO0FBQzNCLENBQUMsQ0FBQztBQUNGLGlCQUFTLGdCQUFnQixDQUFDIiwiZmlsZSI6ImJlYXV0eWxvZy5ub2RlLnRhYmxlLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8vIDxyZWZlcmVuY2UgcGF0aD1cIi4vdHlwaW5ncy9tYWluLmQudHNcIiAvPlxuaW1wb3J0IGNsYXNzZXMgPSByZXF1aXJlKFwiLi9iZWF1dHlsb2cuY2xhc3Nlc1w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tcblxudmFyIGJlYXV0eWxvZ09zVGFibGU6YW55ID0ge307XG5cbmJlYXV0eWxvZ09zVGFibGUubmV3ID0gZnVuY3Rpb24odHlwZUFyZzpzdHJpbmcsdGFibGVIZWFkQXJyYXlBcmc/KSB7XG4gICAgdmFyIG5ld0NvbnNvbGVUYWJsZSA9IG5ldyBjbGFzc2VzLkNvbnNvbGVUYWJsZSh0eXBlQXJnLHRhYmxlSGVhZEFycmF5QXJnKTtcbiAgICByZXR1cm4gbmV3Q29uc29sZVRhYmxlO1xufTtcbmV4cG9ydCA9IGJlYXV0eWxvZ09zVGFibGU7Il19

2
dist/beautylog.plugins.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
declare var plugins: any;
export = plugins;

View File

@ -15,4 +15,4 @@ if (plugins.smartenv.getEnv().isNode) {
} }
module.exports = plugins; module.exports = plugins;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0Qzs7QUFFNUMsSUFBSSxPQUFPLEdBQU87SUFDZCxNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztJQUN6QixRQUFRLEVBQUUsT0FBTyxDQUFDLFVBQVUsQ0FBQztJQUM3QixDQUFDLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQztDQUNsQixDQUFDO0FBQ0YsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLFFBQVEsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxNQUFNLENBQUMsQ0FBQSxDQUFDO0lBQ2xDLE9BQU8sR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxPQUFPLEVBQUM7UUFDcEMsUUFBUSxFQUFHLE9BQU8sQ0FBQyxZQUFZLENBQUM7UUFDaEMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxRQUFRLENBQ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G4gICAgICAgIGNsYzogcmVxdWlyZShcImNsaS1jb2xvclwiKSxcbiAgICAgICAgZmlnbGV0OiByZXF1aXJlKFwiZmlnbGV0XCIpXG4gICAgfSk7XG59XG5leHBvcnQgPSBwbHVnaW5zOyJdfQ==

0
dist/beautylog.promisechain.d.ts vendored Normal file
View File

View File

@ -1,3 +1,3 @@
/// <reference path="./typings/main.d.ts" /> /// <reference path="./typings/main.d.ts" />
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5wcm9taXNlY2hhaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNENBQTRDIiwiZmlsZSI6ImJlYXV0eWxvZy5wcm9taXNlY2hhaW4uanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoPVwiLi90eXBpbmdzL21haW4uZC50c1wiIC8+XG4iXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0= //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5wcm9taXNlY2hhaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNENBQTRDIiwiZmlsZSI6ImJlYXV0eWxvZy5wcm9taXNlY2hhaW4uanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoPVwiLi90eXBpbmdzL21haW4uZC50c1wiIC8+XG4iXX0=

2
dist/index.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
declare let beautylog: any;
export = beautylog;

2
dist/index.js vendored
View File

@ -17,4 +17,4 @@ switch (plugins.smartenv.getEnv().runtimeEnv) {
} }
module.exports = beautylog; module.exports = beautylog;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ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DO0FBRUQsaUJBQVMsU0FBUyxDQUFDIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8vIDxyZWZlcmVuY2UgcGF0aD1cIi4vdHlwaW5ncy9tYWluLmQudHNcIiAvPlxuXG5pbXBvcnQgKiBhcyBwbHVnaW5zIGZyb20gXCIuL2JlYXV0eWxvZy5wbHVnaW5zXCI7XG5pbXBvcnQgKiBhcyBCZWF1dHlsb2dOb2RlIGZyb20gXCIuL2JlYXV0eWxvZy5ub2RlXCI7XG5pbXBvcnQgKiBhcyBCZWF1dHlsb2dCcm93c2VyIGZyb20gXCIuL2JlYXV0eWxvZy5icm93c2VyXCI7XG5sZXQgYmVhdXR5bG9nO1xuc3dpdGNoKHBsdWdpbnMuc21hcnRlbnYuZ2V0RW52KCkucnVudGltZUVudikge1xuICAgIGNhc2UgXCJub2RlXCI6XG4gICAgICAgIGJlYXV0eWxvZyA9IEJlYXV0eWxvZ05vZGU7XG4gICAgICAgIGJyZWFrO1xuICAgIGNhc2UgXCJicm93c2VyXCI6XG4gICAgICAgIGJlYXV0eWxvZyA9IEJlYXV0eWxvZ0Jyb3dzZXI7XG4gICAgICAgIGJyZWFrO1xuICAgIGRlZmF1bHQ6XG4gICAgICAgIGNvbnNvbGUubG9nKFwic29tZXRoaW5nIGlzIHN0cmFuZ2UgYWJvdXQgdGhlIHBsYXRmb3JtIGluIHdoaWNoIHlvdSB0cnkgdG8gdXNlIGJlYXV0eWxvZ1wiKTtcbiAgICAgICAgYnJlYWs7XG59XG5cbmV4cG9ydCA9IGJlYXV0eWxvZztcbiJdfQ==

View File

@ -33,15 +33,15 @@
"cli-color": "^1.1.0", "cli-color": "^1.1.0",
"cli-table2": "^0.2.0", "cli-table2": "^0.2.0",
"colors": "1.1.2", "colors": "1.1.2",
"figlet": "^1.1.1", "figlet": "^1.1.2",
"lodash": "^4.8.1", "lodash": "^4.11.1",
"q": "^1.4.1", "q": "^1.4.1",
"smartenv": "^1.2.1" "smartenv": "^1.2.2"
}, },
"devDependencies": { "devDependencies": {
"easyserve": "^0.0.5", "easyserve": "^0.0.5",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-browser": "^2.0.0", "gulp-browser": "^2.0.1",
"npmts": "5.0.3" "npmts": "^5.1.5"
} }
} }

2
test/test.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
declare var smartenv: any;
declare var beautylog: any;

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,10 @@
/// <reference path="./typings/main.d.ts" /> /// <reference path="./typings/main.d.ts" />
import plugins = require("./beautylog.plugins"); import * as plugins from "./beautylog.plugins";
import BeautylogNode = require("./beautylog.node"); import * as BeautylogNode from "./beautylog.node";
import BeautylogBrowser = require("./beautylog.browser"); import * as BeautylogBrowser from "./beautylog.browser";
var beautylog;
let beautylog;
switch(plugins.smartenv.getEnv().runtimeEnv) { switch(plugins.smartenv.getEnv().runtimeEnv) {
case "node": case "node":
beautylog = BeautylogNode; beautylog = BeautylogNode;