165 lines
4.2 KiB
JSON
165 lines
4.2 KiB
JSON
|
{
|
||
|
"name": "nyc",
|
||
|
"version": "10.3.2",
|
||
|
"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",
|
||
|
"find-up": "^1.1.2",
|
||
|
"foreground-child": "^1.5.3",
|
||
|
"glob": "^7.0.6",
|
||
|
"istanbul-lib-coverage": "^1.1.0",
|
||
|
"istanbul-lib-hook": "^1.0.6",
|
||
|
"istanbul-lib-instrument": "^1.7.1",
|
||
|
"istanbul-lib-report": "^1.1.0",
|
||
|
"istanbul-lib-source-maps": "^1.2.0",
|
||
|
"istanbul-reports": "^1.1.0",
|
||
|
"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",
|
||
|
"spawn-wrap": "1.2.4",
|
||
|
"test-exclude": "^4.1.0",
|
||
|
"yargs": "^7.1.0",
|
||
|
"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"
|
||
|
]
|
||
|
}
|
||
|
}
|