package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "name": "nyc",
  3. "version": "13.3.0",
  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-dir=./.self_coverage mocha ./test/nyc.js ./test/process-args.js",
  15. "report": "node ./bin/nyc --temp-dir ./.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": "^3.0.1",
  79. "convert-source-map": "^1.6.0",
  80. "find-cache-dir": "^2.0.0",
  81. "find-up": "^3.0.0",
  82. "foreground-child": "^1.5.6",
  83. "glob": "^7.1.3",
  84. "istanbul-lib-coverage": "^2.0.3",
  85. "istanbul-lib-hook": "^2.0.3",
  86. "istanbul-lib-instrument": "^3.1.0",
  87. "istanbul-lib-report": "^2.0.4",
  88. "istanbul-lib-source-maps": "^3.0.2",
  89. "istanbul-reports": "^2.1.1",
  90. "make-dir": "^1.3.0",
  91. "merge-source-map": "^1.1.0",
  92. "resolve-from": "^4.0.0",
  93. "rimraf": "^2.6.3",
  94. "signal-exit": "^3.0.2",
  95. "spawn-wrap": "^1.4.2",
  96. "test-exclude": "^5.1.0",
  97. "uuid": "^3.3.2",
  98. "yargs": "^12.0.5",
  99. "yargs-parser": "^11.1.1"
  100. },
  101. "devDependencies": {
  102. "any-path": "^1.3.0",
  103. "bundle-dependencies": "^1.0.2",
  104. "chai": "^4.2.0",
  105. "coveralls": "^3.0.2",
  106. "forking-tap": "^0.1.1",
  107. "is-windows": "^1.0.2",
  108. "lodash": "^4.17.11",
  109. "mocha": "^5.2.0",
  110. "newline-regex": "^0.2.1",
  111. "requirejs": "^2.3.6",
  112. "sanitize-filename": "^1.6.1",
  113. "source-map-support": "^0.5.10",
  114. "standard": "^12.0.1",
  115. "standard-version": "^4.4.0",
  116. "strip-indent": "^2.0.0",
  117. "tap": "^12.4.0",
  118. "which": "^1.3.1",
  119. "zero-fill": "^2.2.3"
  120. },
  121. "engines": {
  122. "node": ">=6"
  123. },
  124. "repository": {
  125. "type": "git",
  126. "url": "git@github.com:istanbuljs/nyc.git"
  127. },
  128. "bundledDependencies": [
  129. "archy",
  130. "arrify",
  131. "caching-transform",
  132. "convert-source-map",
  133. "find-cache-dir",
  134. "find-up",
  135. "foreground-child",
  136. "glob",
  137. "istanbul-lib-coverage",
  138. "istanbul-lib-hook",
  139. "istanbul-lib-report",
  140. "istanbul-lib-source-maps",
  141. "istanbul-reports",
  142. "make-dir",
  143. "merge-source-map",
  144. "resolve-from",
  145. "rimraf",
  146. "signal-exit",
  147. "spawn-wrap",
  148. "test-exclude",
  149. "uuid",
  150. "yargs",
  151. "yargs-parser"
  152. ]
  153. }