UNPKG

3.5 kBJSONView Raw
1{
2 "name": "nyc",
3 "version": "6.4.0",
4 "description": "a code coverage tool that works well with subprocesses.",
5 "main": "index.js",
6 "scripts": {
7 "pretest": "standard",
8 "test": "npm run cover",
9 "clean": "rimraf ./.nyc_output ./node_modules/.cache ./.self_coverage ./test/fixtures/.nyc_output ./test/fixtures/node_modules/.cache *covered.js ./lib/*covered.js",
10 "build": "node ./build-tests",
11 "instrument": "node ./build-self-coverage.js",
12 "run-tests": "tap -t120 --no-cov -b ./test/build/*.js ./test/src/source-map-cache.js ./test/src/nyc-bin.js",
13 "report": "istanbul report --include=./.self_coverage/*.json lcov text",
14 "cover": "npm run clean && npm run build && npm run instrument && npm run run-tests && npm run report",
15 "dev": "npm run clean && npm run build && npm run run-tests",
16 "version": "standard-version"
17 },
18 "bin": {
19 "nyc": "./bin/nyc.js"
20 },
21 "files": [
22 "index.js",
23 "bin/*.js",
24 "lib/*.js",
25 "!**/*covered.js"
26 ],
27 "nyc": {
28 "exclude": [
29 "node_modules",
30 "bin",
31 "coverage",
32 "test/fixtures/coverage.js",
33 "test/build/*",
34 "test/nyc-test.js",
35 "test/source-map-cache.js",
36 "index.covered.js",
37 "test/fixtures/_generateCoverage.js"
38 ]
39 },
40 "standard": {
41 "ignore": [
42 "**/fixtures/**",
43 "**/test/build/*"
44 ]
45 },
46 "keywords": [
47 "coverage",
48 "reporter",
49 "subprocess",
50 "testing"
51 ],
52 "contributors": [
53 {
54 "name": "Isaac Schlueter",
55 "website": "https://github.com/isaacs"
56 },
57 {
58 "name": "Mark Wubben",
59 "website": "https://novemberborn.net"
60 },
61 {
62 "name": "James Talmage",
63 "website": "https://twitter.com/jamestalmage"
64 }
65 ],
66 "author": "Ben Coe <ben@npmjs.com>",
67 "license": "ISC",
68 "dependencies": {
69 "append-transform": "^0.4.0",
70 "arrify": "^1.0.1",
71 "caching-transform": "^1.0.0",
72 "convert-source-map": "^1.1.2",
73 "default-require-extensions": "^1.0.0",
74 "find-cache-dir": "^0.1.1",
75 "find-up": "^1.1.2",
76 "foreground-child": "^1.4.0",
77 "glob": "^7.0.3",
78 "istanbul": "^0.4.3",
79 "lodash": "^4.9.0",
80 "md5-hex": "^1.2.0",
81 "micromatch": "^2.3.7",
82 "mkdirp": "^0.5.0",
83 "pkg-up": "^1.0.0",
84 "resolve-from": "^2.0.0",
85 "rimraf": "^2.5.0",
86 "signal-exit": "^2.1.1",
87 "source-map": "^0.5.3",
88 "spawn-wrap": "^1.2.1",
89 "strip-bom": "^2.0.0",
90 "yargs": "^4.4.0"
91 },
92 "devDependencies": {
93 "any-path": "^1.3.0",
94 "chai": "^3.0.0",
95 "coveralls": "^2.11.4",
96 "exists-sync": "0.0.3",
97 "forking-tap": "^0.1.1",
98 "is-windows": "^0.1.0",
99 "lodash": "^4.6.1",
100 "newline-regex": "^0.2.1",
101 "sanitize-filename": "^1.5.3",
102 "sinon": "^1.15.3",
103 "source-map-fixtures": "^2.1.0",
104 "source-map-support": "^0.4.0",
105 "split-lines": "^1.0.0",
106 "standard": "^6.0.8",
107 "standard-version": "^2.1.1",
108 "tap": "^5.7.1",
109 "which": "^1.2.4",
110 "zero-fill": "^2.2.3"
111 },
112 "repository": {
113 "type": "git",
114 "url": "git@github.com:bcoe/nyc.git"
115 },
116 "bundledDependencies": [
117 "append-transform",
118 "arrify",
119 "caching-transform",
120 "convert-source-map",
121 "default-require-extensions",
122 "find-cache-dir",
123 "find-up",
124 "foreground-child",
125 "glob",
126 "istanbul",
127 "md5-hex",
128 "micromatch",
129 "mkdirp",
130 "pkg-up",
131 "resolve-from",
132 "rimraf",
133 "signal-exit",
134 "source-map",
135 "spawn-wrap",
136 "strip-bom",
137 "yargs"
138 ]
139}