package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "c8",
  3. "version": "10.1.3",
  4. "description": "output coverage reports using Node.js' built in coverage",
  5. "main": "./index.js",
  6. "types": "./index.d.ts",
  7. "bin": "./bin/c8.js",
  8. "repository": {
  9. "type": "git",
  10. "url": "git@github.com:bcoe/c8.git"
  11. },
  12. "scripts": {
  13. "test": "cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=10000 ./test/*.js",
  14. "coverage": "cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js --check-coverage mocha --timeout=10000 ./test/*.js",
  15. "test:snap": "cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test",
  16. "fix": "standard --fix",
  17. "posttest": "standard"
  18. },
  19. "standard": {
  20. "ignore": [
  21. "test/fixtures"
  22. ]
  23. },
  24. "keywords": [
  25. "coverage",
  26. "v8",
  27. "test",
  28. "istanbul",
  29. "profiler",
  30. "inspector",
  31. "node"
  32. ],
  33. "author": "Ben Coe <ben@npmjs.com>",
  34. "license": "ISC",
  35. "dependencies": {
  36. "@bcoe/v8-coverage": "^1.0.1",
  37. "@istanbuljs/schema": "^0.1.3",
  38. "find-up": "^5.0.0",
  39. "foreground-child": "^3.1.1",
  40. "istanbul-lib-coverage": "^3.2.0",
  41. "istanbul-lib-report": "^3.0.1",
  42. "istanbul-reports": "^3.1.6",
  43. "test-exclude": "^7.0.1",
  44. "v8-to-istanbul": "^9.0.0",
  45. "yargs": "^17.7.2",
  46. "yargs-parser": "^21.1.1"
  47. },
  48. "devDependencies": {
  49. "@types/node": "^22.0.0",
  50. "chai": "^4.3.6",
  51. "chai-jest-snapshot": "^2.0.0",
  52. "cross-env": "^7.0.3",
  53. "mocha": "^11.0.1",
  54. "standard": "^16.0.4",
  55. "ts-node": "^10.7.0",
  56. "typescript": "^5.0.0"
  57. },
  58. "peerDependencies": {
  59. "monocart-coverage-reports": "^2"
  60. },
  61. "peerDependenciesMeta": {
  62. "monocart-coverage-reports": {
  63. "optional": true
  64. }
  65. },
  66. "engines": {
  67. "node": ">=18"
  68. },
  69. "files": [
  70. "index.js",
  71. "index.d.ts",
  72. "lib",
  73. "bin"
  74. ]
  75. }