{ "name": "vitest", "type": "module", "version": "2.1.3", "description": "Next generation testing framework powered by Vite", "author": "Anthony Fu ", "license": "MIT", "funding": "https://opencollective.com/vitest", "homepage": "https://github.com/vitest-dev/vitest#readme", "repository": { "type": "git", "url": "git+https://github.com/vitest-dev/vitest.git", "directory": "packages/vitest" }, "bugs": { "url": "https://github.com/vitest-dev/vitest/issues" }, "keywords": [ "vite", "vitest", "test", "jest" ], "sideEffects": false, "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./index.d.cts", "default": "./index.cjs" } }, "./*": "./*", "./globals": { "types": "./globals.d.ts" }, "./jsdom": { "types": "./jsdom.d.ts" }, "./importMeta": { "types": "./importMeta.d.ts" }, "./import-meta": { "types": "./import-meta.d.ts" }, "./node": { "types": "./dist/node.d.ts", "default": "./dist/node.js" }, "./execute": { "types": "./dist/execute.d.ts", "default": "./dist/execute.js" }, "./workers": { "types": "./dist/workers.d.ts", "import": "./dist/workers.js" }, "./browser": { "types": "./dist/browser.d.ts", "default": "./dist/browser.js" }, "./runners": { "types": "./dist/runners.d.ts", "default": "./dist/runners.js" }, "./suite": { "types": "./dist/suite.d.ts", "default": "./dist/suite.js" }, "./environments": { "types": "./dist/environments.d.ts", "default": "./dist/environments.js" }, "./utils": { "types": "./dist/utils.d.ts", "default": "./dist/utils.js" }, "./config": { "types": "./config.d.ts", "require": "./dist/config.cjs", "default": "./dist/config.js" }, "./coverage": { "types": "./coverage.d.ts", "default": "./dist/coverage.js" }, "./reporters": { "types": "./dist/reporters.d.ts", "default": "./dist/reporters.js" }, "./snapshot": { "types": "./dist/snapshot.d.ts", "default": "./dist/snapshot.js" }, "./mocker": { "types": "./dist/mocker.d.ts", "default": "./dist/mocker.js" } }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { "vitest": "./vitest.mjs" }, "files": [ "*.cjs", "*.d.cts", "*.d.ts", "*.mjs", "bin", "dist" ], "engines": { "node": "^18.0.0 || >=20.0.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@types/node": "^18.0.0 || >=20.0.0", "happy-dom": "*", "jsdom": "*", "@vitest/ui": "2.1.3", "@vitest/browser": "2.1.3" }, "peerDependenciesMeta": { "@edge-runtime/vm": { "optional": true }, "@types/node": { "optional": true }, "@vitest/browser": { "optional": true }, "@vitest/ui": { "optional": true }, "happy-dom": { "optional": true }, "jsdom": { "optional": true } }, "dependencies": { "chai": "^5.1.1", "debug": "^4.3.6", "magic-string": "^0.30.11", "pathe": "^1.1.2", "std-env": "^3.7.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.0", "tinypool": "^1.0.0", "tinyrainbow": "^1.2.0", "vite": "^5.0.0", "why-is-node-running": "^2.3.0", "@vitest/expect": "2.1.3", "@vitest/pretty-format": "^2.1.3", "@vitest/runner": "2.1.3", "@vitest/mocker": "2.1.3", "@vitest/snapshot": "2.1.3", "@vitest/utils": "2.1.3", "vite-node": "2.1.3", "@vitest/spy": "2.1.3" }, "devDependencies": { "@ampproject/remapping": "^2.3.0", "@antfu/install-pkg": "^0.4.1", "@edge-runtime/vm": "^4.0.1", "@sinonjs/fake-timers": "11.1.0", "@types/debug": "^4.1.12", "@types/estree": "^1.0.5", "@types/istanbul-lib-coverage": "^2.0.6", "@types/istanbul-reports": "^3.0.4", "@types/jsdom": "^21.1.7", "@types/micromatch": "^4.0.9", "@types/node": "^22.5.2", "@types/prompts": "^2.4.9", "@types/sinonjs__fake-timers": "^8.1.5", "acorn-walk": "^8.3.3", "birpc": "0.2.17", "cac": "^6.7.14", "chai-subset": "^1.6.0", "cli-truncate": "^4.0.0", "expect-type": "^0.19.0", "fast-glob": "3.3.2", "find-up": "^6.3.0", "flatted": "^3.3.1", "get-tsconfig": "^4.7.6", "happy-dom": "^15.7.3", "jsdom": "^25.0.0", "local-pkg": "^0.5.0", "log-update": "^5.0.1", "micromatch": "^4.0.7", "pretty-format": "^29.7.0", "prompts": "^2.4.2", "strip-literal": "^2.1.0", "ws": "^8.18.0" }, "scripts": { "build": "rimraf dist && rollup -c", "dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline" } }