UNPKG

suman-watch-plugins

Version:

Plugins to be used with suman-watch utilities.

17 lines (16 loc) 670 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var process = require('suman-browser-polyfills/modules/process'); var global = require('suman-browser-polyfills/modules/global'); var chalk_1 = require("chalk"); var name = ' [suman-watch-plugins] '; exports.log = { info: console.log.bind(console, name), good: console.log.bind(console, chalk_1.default.cyan(name)), veryGood: console.log.bind(console, chalk_1.default.green(name)), warning: console.log.bind(console, chalk_1.default.yellow.bold(name)), error: console.log.bind(console, chalk_1.default.red(name)), newLine: function () { console.log(); } };