package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {
  2. "name": "nyc",
  3. "version": "12.0.2",
  4. "description": "the Istanbul command line interface",
  5. "main": "index.js",
  6. "scripts": {
  7. "bundle": "bundle-dependencies update",
  8. "posttest": "standard",
  9. "test": "npm run clean && npm run build && npm run instrument && npm run test-integration && npm run test-mocha && npm run report",
  10. "clean": "rimraf ./.nyc_output ./node_modules/.cache ./.self_coverage ./test/fixtures/.nyc_output ./test/fixtures/node_modules/.cache *covered.js ./lib/*covered.js",
  11. "build": "node ./build-tests",
  12. "instrument": "node ./build-self-coverage.js",
  13. "test-integration": "tap -t120 --no-cov -b ./test/build/*.js && mocha --timeout=15000 ./test/nyc-bin.js",
  14. "test-mocha": "node ./bin/nyc --no-clean --silent --temp-directory=./.self_coverage mocha ./test/nyc.js ./test/process-args.js",
  15. "report": "node ./bin/nyc --temp-directory ./.self_coverage/ -r text -r lcov report",
  16. "release": "standard-version"
  17. },
  18. "bin": {
  19. "nyc": "./bin/nyc.js"
  20. },
  21. "files": [
  22. "index.js",
  23. "bin/*.js",
  24. "lib/*.js",
  25. "lib/commands/*.js",
  26. "lib/instrumenters/*.js",
  27. "!**/*covered.js"
  28. ],
  29. "nyc": {
  30. "exclude": [
  31. "node_modules",
  32. "bin",
  33. "coverage",
  34. "test/fixtures/coverage.js",
  35. "test/build/*",
  36. "test/src/*",
  37. "test/nyc.js",
  38. "test/process-args.js",
  39. "index.covered.js",
  40. "test/fixtures/_generateCoverage.js"
  41. ]
  42. },
  43. "standard": {
  44. "ignore": [
  45. "**/fixtures/**",
  46. "**/test/build/*"
  47. ]
  48. },
  49. "keywords": [
  50. "coverage",
  51. "reporter",
  52. "subprocess",
  53. "testing"
  54. ],
  55. "contributors": [
  56. {
  57. "name": "Isaac Schlueter",
  58. "website": "https://github.com/isaacs"
  59. },
  60. {
  61. "name": "Mark Wubben",
  62. "website": "https://novemberborn.net"
  63. },
  64. {
  65. "name": "James Talmage",
  66. "website": "https://twitter.com/jamestalmage"
  67. },
  68. {
  69. "name": "Krishnan Anantheswaran",
  70. "website": "https://github.com/gotwarlost"
  71. }
  72. ],
  73. "author": "Ben Coe <ben@npmjs.com>",
  74. "license": "ISC",
  75. "dependencies": {
  76. "archy": "^1.0.0",
  77. "arrify": "^1.0.1",
  78. "caching-transform": "^1.0.0",
  79. "convert-source-map": "^1.5.1",
  80. "debug-log": "^1.0.1",
  81. "default-require-extensions": "^1.0.0",
  82. "find-cache-dir": "^0.1.1",
  83. "find-up": "^2.1.0",
  84. "foreground-child": "^1.5.3",
  85. "glob": "^7.0.6",
  86. "istanbul-lib-coverage": "^1.2.0",
  87. "istanbul-lib-hook": "^1.1.0",
  88. "istanbul-lib-instrument": "^2.1.0",
  89. "istanbul-lib-report": "^1.1.3",
  90. "istanbul-lib-source-maps": "^1.2.5",
  91. "istanbul-reports": "^1.4.1",
  92. "md5-hex": "^1.2.0",
  93. "merge-source-map": "^1.1.0",
  94. "micromatch": "^3.1.10",
  95. "mkdirp": "^0.5.0",
  96. "resolve-from": "^2.0.0",
  97. "rimraf": "^2.6.2",
  98. "signal-exit": "^3.0.1",
  99. "spawn-wrap": "^1.4.2",
  100. "test-exclude": "^4.2.0",
  101. "yargs": "11.1.0",
  102. "yargs-parser": "^8.0.0"
  103. },
  104. "devDependencies": {
  105. "any-path": "^1.3.0",
  106. "bundle-dependencies": "^1.0.2",
  107. "chai": "^3.0.0",
  108. "coveralls": "^3.0.1",
  109. "exists-sync": "0.0.4",
  110. "forking-tap": "^0.1.1",
  111. "is-windows": "^1.0.2",
  112. "lodash": "^4.17.10",
  113. "mocha": "^5.1.1",
  114. "newline-regex": "^0.2.1",
  115. "requirejs": "^2.3.5",
  116. "sanitize-filename": "^1.5.3",
  117. "sinon": "^2.4.1",
  118. "source-map-support": "^0.5.5",
  119. "standard": "^9.0.2",
  120. "standard-version": "^4.3.0",
  121. "strip-indent": "^2.0.0",
  122. "tap": "^11.1.5",
  123. "which": "^1.3.0",
  124. "zero-fill": "^2.2.3"
  125. },
  126. "repository": {
  127. "type": "git",
  128. "url": "git@github.com:istanbuljs/nyc.git"
  129. },
  130. "bundledDependencies": [
  131. "archy",
  132. "arrify",
  133. "caching-transform",
  134. "convert-source-map",
  135. "debug-log",
  136. "default-require-extensions",
  137. "find-cache-dir",
  138. "find-up",
  139. "foreground-child",
  140. "glob",
  141. "istanbul-lib-coverage",
  142. "istanbul-lib-hook",
  143. "istanbul-lib-report",
  144. "istanbul-lib-source-maps",
  145. "istanbul-reports",
  146. "md5-hex",
  147. "merge-source-map",
  148. "micromatch",
  149. "mkdirp",
  150. "resolve-from",
  151. "rimraf",
  152. "signal-exit",
  153. "spawn-wrap",
  154. "test-exclude",
  155. "yargs",
  156. "yargs-parser"
  157. ]
  158. }