package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "name": "vitest",
  3. "version": "0.23.4",
  4. "description": "A blazing fast unit test framework powered by Vite",
  5. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  6. "license": "MIT",
  7. "funding": "https://github.com/sponsors/antfu",
  8. "homepage": "https://github.com/vitest-dev/vitest#readme",
  9. "repository": {
  10. "type": "git",
  11. "url": "git+https://github.com/vitest-dev/vitest.git"
  12. },
  13. "bugs": {
  14. "url": "https://github.com/vitest-dev/vitest/issues"
  15. },
  16. "keywords": [
  17. "vite",
  18. "vite-node",
  19. "vitest",
  20. "test",
  21. "jest"
  22. ],
  23. "exports": {
  24. ".": {
  25. "types": "./dist/index.d.ts",
  26. "import": "./dist/index.mjs"
  27. },
  28. "./*": "./*",
  29. "./globals": {
  30. "types": "./globals.d.ts"
  31. },
  32. "./importMeta": {
  33. "types": "./importMeta.d.ts"
  34. },
  35. "./node": {
  36. "types": "./dist/node.d.ts",
  37. "import": "./dist/node.mjs"
  38. },
  39. "./environments": {
  40. "types": "./dist/environments.d.ts",
  41. "import": "./dist/environments.mjs"
  42. },
  43. "./browser": {
  44. "types": "./dist/browser.d.ts",
  45. "import": "./dist/browser.mjs"
  46. },
  47. "./config": {
  48. "types": "./config.d.ts",
  49. "require": "./dist/config.cjs",
  50. "import": "./dist/config.mjs"
  51. }
  52. },
  53. "main": "./dist/index.mjs",
  54. "module": "./dist/index.mjs",
  55. "types": "./dist/index.d.ts",
  56. "bin": {
  57. "vitest": "./vitest.mjs"
  58. },
  59. "files": [
  60. "dist",
  61. "bin",
  62. "*.d.ts",
  63. "*.mjs",
  64. "*.cjs"
  65. ],
  66. "engines": {
  67. "node": ">=v14.16.0"
  68. },
  69. "peerDependencies": {
  70. "@edge-runtime/vm": "*",
  71. "@vitest/browser": "*",
  72. "@vitest/ui": "*",
  73. "happy-dom": "*",
  74. "jsdom": "*"
  75. },
  76. "peerDependenciesMeta": {
  77. "@vitest/ui": {
  78. "optional": true
  79. },
  80. "@vitest/browser": {
  81. "optional": true
  82. },
  83. "happy-dom": {
  84. "optional": true
  85. },
  86. "jsdom": {
  87. "optional": true
  88. },
  89. "@edge-runtime/vm": {
  90. "optional": true
  91. }
  92. },
  93. "dependencies": {
  94. "@types/chai": "^4.3.3",
  95. "@types/chai-subset": "^1.3.3",
  96. "@types/node": "*",
  97. "chai": "^4.3.6",
  98. "debug": "^4.3.4",
  99. "local-pkg": "^0.4.2",
  100. "strip-literal": "^0.4.1",
  101. "tinybench": "^2.1.5",
  102. "tinypool": "^0.3.0",
  103. "tinyspy": "^1.0.2",
  104. "vite": "^2.9.12 || ^3.0.0-0"
  105. },
  106. "devDependencies": {
  107. "@antfu/install-pkg": "^0.1.0",
  108. "@edge-runtime/vm": "1.1.0-beta.31",
  109. "@sinonjs/fake-timers": "^9.1.2",
  110. "@types/diff": "^5.0.2",
  111. "@types/jsdom": "^20.0.0",
  112. "@types/micromatch": "^4.0.2",
  113. "@types/natural-compare": "^1.4.1",
  114. "@types/prompts": "^2.4.0",
  115. "@types/sinonjs__fake-timers": "^8.1.2",
  116. "@vitest/ui": "0.23.4",
  117. "birpc": "^0.2.3",
  118. "cac": "^6.7.14",
  119. "chai-subset": "^1.6.0",
  120. "cli-truncate": "^3.1.0",
  121. "diff": "^5.1.0",
  122. "event-target-polyfill": "^0.0.3",
  123. "execa": "^6.1.0",
  124. "fast-glob": "^3.2.12",
  125. "find-up": "^6.3.0",
  126. "flatted": "^3.2.7",
  127. "happy-dom": "^6.0.4",
  128. "jsdom": "^20.0.0",
  129. "log-update": "^5.0.1",
  130. "magic-string": "^0.26.3",
  131. "micromatch": "^4.0.5",
  132. "mlly": "^0.5.14",
  133. "natural-compare": "^1.4.0",
  134. "p-limit": "^4.0.0",
  135. "pathe": "^0.2.0",
  136. "picocolors": "^1.0.0",
  137. "pkg-types": "^0.3.5",
  138. "pretty-format": "^27.5.1",
  139. "prompts": "^2.4.2",
  140. "rollup": "^2.79.0",
  141. "source-map-js": "^1.0.2",
  142. "strip-ansi": "^7.0.1",
  143. "typescript": "^4.8.3",
  144. "vite-node": "0.23.4",
  145. "ws": "^8.8.1"
  146. },
  147. "scripts": {
  148. "build": "rimraf dist && rollup -c",
  149. "dev": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
  150. }
  151. }