2017-05-28 00:38:50 +02:00
|
|
|
{
|
|
|
|
"name": "nyc",
|
2017-08-14 05:01:11 +02:00
|
|
|
"version": "11.1.0",
|
2017-05-28 00:38:50 +02:00
|
|
|
"description": "the Istanbul command line interface",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
|
|
|
"bundle": "bundle-dependencies update",
|
|
|
|
"pretest": "standard",
|
|
|
|
"test": "npm run clean && npm run build && npm run instrument && npm run test-integration && npm run test-mocha && npm run report",
|
|
|
|
"clean": "rimraf ./.nyc_output ./node_modules/.cache ./.self_coverage ./test/fixtures/.nyc_output ./test/fixtures/node_modules/.cache *covered.js ./lib/*covered.js",
|
|
|
|
"build": "node ./build-tests",
|
|
|
|
"instrument": "node ./build-self-coverage.js",
|
|
|
|
"test-integration": "tap -t120 --no-cov -b ./test/build/*.js && mocha --timeout=15000 ./test/nyc-bin.js",
|
|
|
|
"test-mocha": "node ./bin/nyc --no-clean --silent --temp-directory=./.self_coverage mocha ./test/nyc.js ./test/process-args.js",
|
|
|
|
"report": "node ./bin/nyc --temp-directory ./.self_coverage/ -r text -r lcov report",
|
|
|
|
"release": "standard-version"
|
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"nyc": "./bin/nyc.js"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"index.js",
|
|
|
|
"bin/*.js",
|
|
|
|
"lib/*.js",
|
|
|
|
"lib/commands/*.js",
|
|
|
|
"lib/instrumenters/*.js",
|
|
|
|
"!**/*covered.js"
|
|
|
|
],
|
|
|
|
"nyc": {
|
|
|
|
"exclude": [
|
|
|
|
"node_modules",
|
|
|
|
"bin",
|
|
|
|
"coverage",
|
|
|
|
"test/fixtures/coverage.js",
|
|
|
|
"test/build/*",
|
|
|
|
"test/src/*",
|
|
|
|
"test/nyc.js",
|
|
|
|
"test/process-args.js",
|
|
|
|
"index.covered.js",
|
|
|
|
"test/fixtures/_generateCoverage.js"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"standard": {
|
|
|
|
"ignore": [
|
|
|
|
"**/fixtures/**",
|
|
|
|
"**/test/build/*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"coverage",
|
|
|
|
"reporter",
|
|
|
|
"subprocess",
|
|
|
|
"testing"
|
|
|
|
],
|
|
|
|
"contributors": [
|
|
|
|
{
|
|
|
|
"name": "Isaac Schlueter",
|
|
|
|
"website": "https://github.com/isaacs"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Mark Wubben",
|
|
|
|
"website": "https://novemberborn.net"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "James Talmage",
|
|
|
|
"website": "https://twitter.com/jamestalmage"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Krishnan Anantheswaran",
|
|
|
|
"website": "https://github.com/gotwarlost"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"author": "Ben Coe <ben@npmjs.com>",
|
|
|
|
"license": "ISC",
|
|
|
|
"dependencies": {
|
|
|
|
"archy": "^1.0.0",
|
|
|
|
"arrify": "^1.0.1",
|
|
|
|
"caching-transform": "^1.0.0",
|
|
|
|
"convert-source-map": "^1.3.0",
|
|
|
|
"debug-log": "^1.0.1",
|
|
|
|
"default-require-extensions": "^1.0.0",
|
|
|
|
"find-cache-dir": "^0.1.1",
|
2017-08-14 05:01:11 +02:00
|
|
|
"find-up": "^2.1.0",
|
2017-05-28 00:38:50 +02:00
|
|
|
"foreground-child": "^1.5.3",
|
|
|
|
"glob": "^7.0.6",
|
2017-08-14 05:01:11 +02:00
|
|
|
"istanbul-lib-coverage": "^1.1.1",
|
|
|
|
"istanbul-lib-hook": "^1.0.7",
|
|
|
|
"istanbul-lib-instrument": "^1.7.4",
|
|
|
|
"istanbul-lib-report": "^1.1.1",
|
|
|
|
"istanbul-lib-source-maps": "^1.2.1",
|
|
|
|
"istanbul-reports": "^1.1.1",
|
2017-05-28 00:38:50 +02:00
|
|
|
"md5-hex": "^1.2.0",
|
|
|
|
"merge-source-map": "^1.0.2",
|
|
|
|
"micromatch": "^2.3.11",
|
|
|
|
"mkdirp": "^0.5.0",
|
|
|
|
"resolve-from": "^2.0.0",
|
|
|
|
"rimraf": "^2.5.4",
|
|
|
|
"signal-exit": "^3.0.1",
|
2017-08-14 05:01:11 +02:00
|
|
|
"spawn-wrap": "^1.3.8",
|
|
|
|
"test-exclude": "^4.1.1",
|
|
|
|
"yargs": "^8.0.1",
|
2017-05-28 00:38:50 +02:00
|
|
|
"yargs-parser": "^5.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"any-path": "^1.3.0",
|
|
|
|
"bundle-dependencies": "^1.0.2",
|
|
|
|
"chai": "^3.0.0",
|
|
|
|
"coveralls": "^2.11.11",
|
|
|
|
"exists-sync": "0.0.4",
|
|
|
|
"forking-tap": "^0.1.1",
|
|
|
|
"is-windows": "^1.0.0",
|
|
|
|
"lodash": "^4.12.0",
|
|
|
|
"mocha": "^3.2.0",
|
|
|
|
"newline-regex": "^0.2.1",
|
|
|
|
"requirejs": "^2.3.0",
|
|
|
|
"sanitize-filename": "^1.5.3",
|
|
|
|
"sinon": "^2.1.0",
|
|
|
|
"source-map-support": "^0.4.6",
|
|
|
|
"split-lines": "^1.0.0",
|
|
|
|
"standard": "^9.0.2",
|
|
|
|
"standard-version": "^4.0.0",
|
|
|
|
"tap": "^10.0.0",
|
|
|
|
"which": "^1.2.11",
|
|
|
|
"zero-fill": "^2.2.3"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git@github.com:istanbuljs/nyc.git"
|
|
|
|
},
|
|
|
|
"bundledDependencies": [
|
|
|
|
"archy",
|
|
|
|
"arrify",
|
|
|
|
"caching-transform",
|
|
|
|
"convert-source-map",
|
|
|
|
"debug-log",
|
|
|
|
"default-require-extensions",
|
|
|
|
"find-cache-dir",
|
|
|
|
"find-up",
|
|
|
|
"foreground-child",
|
|
|
|
"glob",
|
|
|
|
"istanbul-lib-coverage",
|
|
|
|
"istanbul-lib-hook",
|
|
|
|
"istanbul-lib-instrument",
|
|
|
|
"istanbul-lib-report",
|
|
|
|
"istanbul-lib-source-maps",
|
|
|
|
"istanbul-reports",
|
|
|
|
"md5-hex",
|
|
|
|
"merge-source-map",
|
|
|
|
"micromatch",
|
|
|
|
"mkdirp",
|
|
|
|
"resolve-from",
|
|
|
|
"rimraf",
|
|
|
|
"signal-exit",
|
|
|
|
"spawn-wrap",
|
|
|
|
"test-exclude",
|
|
|
|
"yargs",
|
|
|
|
"yargs-parser"
|
|
|
|
],
|
|
|
|
"greenkeeper": {
|
|
|
|
"ignore": [
|
|
|
|
"find-up"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|