use text-cov for coverage in console

This commit is contained in:
Sean McArthur 2014-08-05 14:57:02 -07:00
Родитель 83b022ad25
Коммит f043254415
3 изменённых файлов: 69 добавлений и 118 удалений

182
npm-shrinkwrap.json сгенерированный
Просмотреть файл

@ -29,28 +29,23 @@
"dependencies": {
"underscore": {
"version": "1.6.0",
"from": "underscore@~1.6.0",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz"
"from": "underscore@~1.6.0"
},
"chalk": {
"version": "0.4.0",
"from": "chalk@~0.4.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz",
"dependencies": {
"has-color": {
"version": "0.1.7",
"from": "has-color@~0.1.0",
"resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz"
"from": "has-color@~0.1.0"
},
"ansi-styles": {
"version": "1.0.0",
"from": "ansi-styles@~1.0.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz"
"from": "ansi-styles@~1.0.0"
},
"strip-ansi": {
"version": "0.1.1",
"from": "strip-ansi@~0.1.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz"
"from": "strip-ansi@~0.1.0"
}
}
}
@ -58,8 +53,7 @@
},
"JSV": {
"version": "4.0.2",
"from": "JSV@>= 4.0.x",
"resolved": "https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz"
"from": "JSV@>= 4.0.x"
}
}
}
@ -82,13 +76,11 @@
"dependencies": {
"wordwrap": {
"version": "0.0.2",
"from": "wordwrap@~0.0.2",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz"
"from": "wordwrap@~0.0.2"
},
"minimist": {
"version": "0.0.10",
"from": "minimist@~0.0.1",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz"
"from": "minimist@~0.0.1"
}
}
}
@ -96,143 +88,143 @@
},
"hapi": {
"version": "6.2.0",
"from": "hapi@6.2.0",
"from": "https://registry.npmjs.org/hapi/-/hapi-6.2.0.tgz",
"resolved": "https://registry.npmjs.org/hapi/-/hapi-6.2.0.tgz",
"dependencies": {
"hoek": {
"version": "2.3.0",
"from": "hoek@^2.3.x",
"from": "https://registry.npmjs.org/hoek/-/hoek-2.3.0.tgz",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-2.3.0.tgz"
},
"boom": {
"version": "2.4.2",
"from": "boom@^2.4.x",
"from": "https://registry.npmjs.org/boom/-/boom-2.4.2.tgz",
"resolved": "https://registry.npmjs.org/boom/-/boom-2.4.2.tgz"
},
"catbox": {
"version": "2.2.1",
"from": "catbox@^2.1.x",
"from": "https://registry.npmjs.org/catbox/-/catbox-2.2.1.tgz",
"resolved": "https://registry.npmjs.org/catbox/-/catbox-2.2.1.tgz"
},
"catbox-memory": {
"version": "1.0.3",
"from": "catbox-memory@1.x.x",
"from": "https://registry.npmjs.org/catbox-memory/-/catbox-memory-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/catbox-memory/-/catbox-memory-1.0.3.tgz"
},
"shot": {
"version": "1.3.3",
"from": "shot@1.x.x",
"from": "https://registry.npmjs.org/shot/-/shot-1.3.3.tgz",
"resolved": "https://registry.npmjs.org/shot/-/shot-1.3.3.tgz"
},
"nipple": {
"version": "2.5.3",
"from": "nipple@^2.4.x",
"from": "https://registry.npmjs.org/nipple/-/nipple-2.5.3.tgz",
"resolved": "https://registry.npmjs.org/nipple/-/nipple-2.5.3.tgz"
},
"cryptiles": {
"version": "2.0.1",
"from": "cryptiles@2.x.x",
"from": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.1.tgz"
},
"iron": {
"version": "2.1.0",
"from": "iron@2.x.x",
"from": "https://registry.npmjs.org/iron/-/iron-2.1.0.tgz",
"resolved": "https://registry.npmjs.org/iron/-/iron-2.1.0.tgz"
},
"topo": {
"version": "1.0.0",
"from": "topo@1.x.x",
"from": "https://registry.npmjs.org/topo/-/topo-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/topo/-/topo-1.0.0.tgz"
},
"kilt": {
"version": "1.1.0",
"from": "kilt@^1.1.x",
"from": "https://registry.npmjs.org/kilt/-/kilt-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/kilt/-/kilt-1.1.0.tgz"
},
"async": {
"version": "0.8.0",
"from": "async@0.8.x",
"from": "https://registry.npmjs.org/async/-/async-0.8.0.tgz",
"resolved": "https://registry.npmjs.org/async/-/async-0.8.0.tgz"
},
"multiparty": {
"version": "3.2.10",
"from": "multiparty@3.2.x",
"from": "https://registry.npmjs.org/multiparty/-/multiparty-3.2.10.tgz",
"resolved": "https://registry.npmjs.org/multiparty/-/multiparty-3.2.10.tgz",
"dependencies": {
"readable-stream": {
"version": "1.1.13-1",
"from": "readable-stream@~1.1.9",
"from": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13-1.tgz",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13-1.tgz",
"dependencies": {
"core-util-is": {
"version": "1.0.1",
"from": "core-util-is@~1.0.0",
"from": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz"
},
"isarray": {
"version": "0.0.1",
"from": "isarray@0.0.1",
"from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
},
"string_decoder": {
"version": "0.10.25-1",
"from": "string_decoder@~0.10.x",
"from": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25-1.tgz",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25-1.tgz"
},
"inherits": {
"version": "2.0.1",
"from": "inherits@~2.0.1",
"from": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
}
}
},
"stream-counter": {
"version": "0.2.0",
"from": "stream-counter@~0.2.0",
"from": "https://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz",
"resolved": "https://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz"
}
}
},
"mime": {
"version": "1.2.11",
"from": "mime@1.2.x",
"from": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
},
"lru-cache": {
"version": "2.5.0",
"from": "lru-cache@2.5.x",
"from": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz"
},
"optimist": {
"version": "0.6.1",
"from": "optimist@0.6.x",
"from": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
"dependencies": {
"wordwrap": {
"version": "0.0.2",
"from": "wordwrap@~0.0.2",
"from": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz"
},
"minimist": {
"version": "0.0.10",
"from": "minimist@~0.0.1",
"from": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz"
}
}
},
"negotiator": {
"version": "0.4.7",
"from": "negotiator@0.4.x",
"from": "https://registry.npmjs.org/negotiator/-/negotiator-0.4.7.tgz",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.4.7.tgz"
},
"semver": {
"version": "2.3.1",
"from": "semver@2.3.x",
"from": "https://registry.npmjs.org/semver/-/semver-2.3.1.tgz",
"resolved": "https://registry.npmjs.org/semver/-/semver-2.3.1.tgz"
},
"qs": {
"version": "0.6.6",
"from": "qs@0.6.x",
"from": "https://registry.npmjs.org/qs/-/qs-0.6.6.tgz",
"resolved": "https://registry.npmjs.org/qs/-/qs-0.6.6.tgz"
}
}
@ -240,78 +232,64 @@
"intel": {
"version": "1.0.0-b4",
"from": "intel@1.0.0-b4",
"resolved": "https://registry.npmjs.org/intel/-/intel-1.0.0-b4.tgz",
"dependencies": {
"chalk": {
"version": "0.5.1",
"from": "chalk@~0.5.1",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-0.5.1.tgz",
"dependencies": {
"ansi-styles": {
"version": "1.1.0",
"from": "ansi-styles@^1.1.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz"
"from": "ansi-styles@^1.1.0"
},
"escape-string-regexp": {
"version": "1.0.1",
"from": "escape-string-regexp@^1.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.1.tgz"
"version": "1.0.0",
"from": "escape-string-regexp@^1.0.0"
},
"has-ansi": {
"version": "0.1.0",
"from": "has-ansi@^0.1.0",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz",
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"from": "ansi-regex@^0.2.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz"
"from": "ansi-regex@^0.2.0"
}
}
},
"strip-ansi": {
"version": "0.3.0",
"from": "strip-ansi@^0.3.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz",
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"from": "ansi-regex@^0.2.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz"
"from": "ansi-regex@^0.2.0"
}
}
},
"supports-color": {
"version": "0.2.0",
"from": "supports-color@^0.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz"
"from": "supports-color@^0.2.0"
}
}
},
"dbug": {
"version": "0.4.1",
"from": "dbug@~0.4.1",
"resolved": "https://registry.npmjs.org/dbug/-/dbug-0.4.1.tgz"
"from": "dbug@~0.4.1"
},
"stack-trace": {
"version": "0.0.9",
"from": "stack-trace@~0.0.9",
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz"
"from": "stack-trace@~0.0.9"
},
"strftime": {
"version": "0.8.1",
"from": "strftime@~0.8.0",
"resolved": "https://registry.npmjs.org/strftime/-/strftime-0.8.1.tgz"
"from": "strftime@~0.8.0"
},
"symbol": {
"version": "0.2.1",
"from": "symbol@~0.2.0",
"resolved": "https://registry.npmjs.org/symbol/-/symbol-0.2.1.tgz"
"from": "symbol@~0.2.0"
},
"utcstring": {
"version": "0.1.0",
"from": "utcstring@~0.1.0",
"resolved": "https://registry.npmjs.org/utcstring/-/utcstring-0.1.0.tgz"
"from": "utcstring@~0.1.0"
}
}
},
@ -322,18 +300,15 @@
"dependencies": {
"hoek": {
"version": "2.3.0",
"from": "hoek@^2.2.x",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-2.3.0.tgz"
"from": "hoek@^2.2.x"
},
"topo": {
"version": "1.0.0",
"from": "topo@1.x.x",
"resolved": "https://registry.npmjs.org/topo/-/topo-1.0.0.tgz"
"from": "topo@1.x.x"
},
"isemail": {
"version": "1.0.1",
"from": "isemail@1.x.x",
"resolved": "https://registry.npmjs.org/isemail/-/isemail-1.0.1.tgz"
"from": "isemail@1.x.x"
}
}
},
@ -349,13 +324,11 @@
},
"readable-stream": {
"version": "1.1.13-1",
"from": "readable-stream@~1.1.13",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13-1.tgz",
"from": "readable-stream@~1.1.9",
"dependencies": {
"core-util-is": {
"version": "1.0.1",
"from": "core-util-is@~1.0.0",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz"
"from": "core-util-is@~1.0.0"
},
"isarray": {
"version": "0.0.1",
@ -364,13 +337,11 @@
},
"string_decoder": {
"version": "0.10.25-1",
"from": "string_decoder@~0.10.x",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25-1.tgz"
"from": "string_decoder@~0.10.x"
},
"inherits": {
"version": "2.0.1",
"from": "inherits@~2.0.1",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
"from": "inherits@~2.0.1"
}
}
},
@ -388,50 +359,41 @@
"dependencies": {
"qs": {
"version": "0.6.6",
"from": "qs@~0.6.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-0.6.6.tgz"
"from": "qs@~0.6.0"
},
"json-stringify-safe": {
"version": "5.0.0",
"from": "json-stringify-safe@~5.0.0",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz"
"from": "json-stringify-safe@~5.0.0"
},
"mime-types": {
"version": "1.0.1",
"from": "mime-types@~1.0.1",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-1.0.1.tgz"
"from": "mime-types@~1.0.1"
},
"forever-agent": {
"version": "0.5.2",
"from": "forever-agent@~0.5.0",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz"
"from": "forever-agent@~0.5.0"
},
"node-uuid": {
"version": "1.4.1",
"from": "node-uuid@~1.4.0",
"resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz"
"from": "node-uuid@~1.4.0"
},
"tough-cookie": {
"version": "0.12.1",
"from": "tough-cookie@>=0.12.0",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-0.12.1.tgz",
"dependencies": {
"punycode": {
"version": "1.3.0",
"from": "punycode@>=0.2.0",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.0.tgz"
"from": "punycode@>=0.2.0"
}
}
},
"form-data": {
"version": "0.1.4",
"from": "form-data@~0.1.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz",
"dependencies": {
"combined-stream": {
"version": "0.0.5",
"from": "combined-stream@~0.0.4",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.5.tgz",
"dependencies": {
"delayed-stream": {
"version": "0.0.5",
@ -442,25 +404,21 @@
},
"mime": {
"version": "1.2.11",
"from": "mime@~1.2.11",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
"from": "mime@~1.2.11"
},
"async": {
"version": "0.9.0",
"from": "async@~0.9.0",
"resolved": "https://registry.npmjs.org/async/-/async-0.9.0.tgz"
"from": "async@~0.9.0"
}
}
},
"tunnel-agent": {
"version": "0.4.0",
"from": "tunnel-agent@~0.4.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.0.tgz"
"from": "tunnel-agent@~0.4.0"
},
"http-signature": {
"version": "0.10.0",
"from": "http-signature@~0.10.0",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.10.0.tgz",
"dependencies": {
"assert-plus": {
"version": "0.1.2",
@ -481,8 +439,7 @@
},
"oauth-sign": {
"version": "0.3.0",
"from": "oauth-sign@~0.3.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz"
"from": "oauth-sign@~0.3.0"
},
"hawk": {
"version": "1.1.1",
@ -491,30 +448,25 @@
"dependencies": {
"hoek": {
"version": "0.9.1",
"from": "hoek@0.9.x",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz"
"from": "hoek@0.9.x"
},
"boom": {
"version": "0.4.2",
"from": "boom@0.4.x",
"resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz"
"from": "boom@0.4.x"
},
"cryptiles": {
"version": "0.2.2",
"from": "cryptiles@0.2.x",
"resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz"
"from": "cryptiles@0.2.x"
},
"sntp": {
"version": "0.2.4",
"from": "sntp@0.2.x",
"resolved": "https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz"
"from": "sntp@0.2.x"
}
}
},
"aws-sign2": {
"version": "0.5.0",
"from": "aws-sign2@~0.5.0",
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz"
"from": "aws-sign2@~0.5.0"
}
}
}

Просмотреть файл

@ -31,6 +31,7 @@
"insist": "0.x",
"jshint-stylish": "~0.4.0",
"load-grunt-tasks": "~0.6.0",
"mocha-text-cov": "~0.1.0",
"nock": "~0.42.1",
"time-grunt": "~0.4.0"
},

Просмотреть файл

@ -18,9 +18,7 @@ module.exports = function (grunt) {
},
coverage: {
options: {
reporter: 'html-cov',
quiet: true,
captureFile: 'coverage.html'
reporter: 'mocha-text-cov'
},
src: '<%= mochaTest.test.src %>'
}