reaction-cli
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -7,4 +7,2 @@ 'use strict'; | ||
var _lodash = require('lodash'); | ||
var _chalk = require('chalk'); | ||
@@ -18,18 +16,20 @@ | ||
var loggers = { | ||
info: function info(msg) { | ||
console.log(_chalk2.default.blue('' + msg)); | ||
}, | ||
success: function success(msg) { | ||
console.log(_chalk2.default.green('' + msg)); | ||
}, | ||
warn: function warn(msg) { | ||
console.log(_chalk2.default.yellow('' + msg)); | ||
}, | ||
error: function error(msg) { | ||
console.log(_chalk2.default.bold.red('' + msg)); | ||
} | ||
// extend chalk with custom log methods | ||
_chalk2.default.info = function (msg) { | ||
console.log(_chalk2.default.blue('' + msg)); | ||
}; | ||
// extend chalk with custom log methods | ||
exports.default = (0, _lodash.assignIn)(_chalk2.default, loggers); | ||
_chalk2.default.success = function (msg) { | ||
console.log(_chalk2.default.green('' + msg)); | ||
}; | ||
_chalk2.default.warn = function (msg) { | ||
console.log(_chalk2.default.yellow('' + msg)); | ||
}; | ||
_chalk2.default.error = function (msg) { | ||
console.log(_chalk2.default.bold.red('' + msg)); | ||
}; | ||
exports.default = _chalk2.default; |
{ | ||
"name": "reaction-cli", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "A command line tool for working with the Reaction Commerce e-commerce platform.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27591
497