mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Fix PR #690.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require('colors');
|
||||
var cardinal = require('cardinal');
|
||||
var cardinalColors = require('cardinal/colors');
|
||||
var colors = require('ansicolors');
|
||||
var path = require('path');
|
||||
var mout = require('mout');
|
||||
var archy = require('archy');
|
||||
@@ -171,14 +171,13 @@ StandardRenderer.prototype._info = function (data) {
|
||||
if (typeof data === 'object' && data.name && data.versions) {
|
||||
str = template.render('std/info.std', data);
|
||||
} else {
|
||||
|
||||
highlightedJson = cardinal.highlight(stringifyObject(data, { indent: ' ' }), {
|
||||
theme: {
|
||||
String: {
|
||||
_default: cardinalColors.cyan
|
||||
_default: colors.cyan
|
||||
},
|
||||
Identifier: {
|
||||
_default: cardinalColors.green
|
||||
_default: colors.green
|
||||
}
|
||||
},
|
||||
json: true
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
"node": ">=0.8.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"archy": "0.0.2",
|
||||
"abbrev": "~1.0.4",
|
||||
"ansicolors": "~0.2.1",
|
||||
"archy": "0.0.2",
|
||||
"bower-config": "~0.2.0",
|
||||
"bower-endpoint-parser": "~0.2.0",
|
||||
"bower-json": "~0.2.0",
|
||||
|
||||
Reference in New Issue
Block a user