Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Add --coverage conf option
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Dec 4, 2011
1 parent 3f08f5b commit 6463b65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/cli/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@ The location of npm's cache directory. See `npm-cache(1)`
If false, never shows colors. If `"always"` then always shows colors.
If true, then only prints color codes for tty file descriptors.

### coverage

* Default: false
* Type: Boolean

A flag to tell test-harness to run with their coverage options enabled,
if they respond to the `npm_config_coverage` environment variable.

### depth

* Default: Infinity
Expand Down
2 changes: 2 additions & 0 deletions lib/utils/config-defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Object.defineProperty(exports, "defaults", {get: function () {
: path.resolve( home || temp, ".npm")

, color : process.platform !== "win32" || winColor
, coverage: false
, depth: Infinity
, description : true
, dev : false
Expand Down Expand Up @@ -216,6 +217,7 @@ exports.types =
, ca: [null, String]
, cache : path
, color : ["always", Boolean]
, coverage: Boolean
, depth : Number
, description : Boolean
, dev : Boolean
Expand Down

0 comments on commit 6463b65

Please sign in to comment.