37 lines
		
	
	
		
			516 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			516 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
| /**
 | |
|  * npm.js: Config that conform to npm logging levels.
 | |
|  *
 | |
|  * (C) 2010 Charlie Robbins
 | |
|  * MIT LICENCE
 | |
|  */
 | |
| 
 | |
| 'use strict';
 | |
| 
 | |
| /**
 | |
|  * Default levels for the npm configuration.
 | |
|  * @type {Object}
 | |
|  */
 | |
| exports.levels = {
 | |
|   error: 0,
 | |
|   warn: 1,
 | |
|   info: 2,
 | |
|   http: 3,
 | |
|   verbose: 4,
 | |
|   debug: 5,
 | |
|   silly: 6
 | |
| };
 | |
| 
 | |
| /**
 | |
|  * Default levels for the npm configuration.
 | |
|  * @type {Object}
 | |
|  */
 | |
| exports.colors = {
 | |
|   error: 'red',
 | |
|   warn: 'yellow',
 | |
|   info: 'green',
 | |
|   http: 'green',
 | |
|   verbose: 'cyan',
 | |
|   debug: 'blue',
 | |
|   silly: 'magenta'
 | |
| };
 |