{ "name": "vitest", "type": "module", "version": "0.33.0", "description": "A blazing fast unit test 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", "vite-node", "vitest", "test", "jest" ], "sideEffects": false, "exports": { ".": { "require": { "types": "./index.d.cts", "default": "./index.cjs" }, "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./*": "./*", "./globals": { "types": "./globals.d.ts" }, "./importMeta": { "types": "./importMeta.d.ts" }, "./node": { "types": "./dist/node.d.ts", "import": "./dist/node.js" }, "./browser": { "types": "./dist/browser.d.ts", "import": "./dist/browser.js" }, "./runners": { "types": "./dist/runners.d.ts", "import": "./dist/runners.js" }, "./suite": { "types": "./dist/suite.d.ts", "import": "./dist/suite.js" }, "./environments": { "types": "./dist/environments.d.ts", "import": "./dist/environments.js" }, "./utils": { "types": "./dist/utils.d.ts", "import": "./dist/utils.js" }, "./config": { "types": "./config.d.ts", "require": "./dist/config.cjs", "import": "./dist/config.js" }, "./coverage": { "types": "./coverage.d.ts", "import": "./dist/coverage.js" } }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { "vitest": "./vitest.mjs" }, "files": [ "dist", "bin", "*.d.ts", "*.d.cts", "*.mjs", "*.cjs" ], "engines": { "node": ">=v14.18.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@vitest/browser": "*", "@vitest/ui": "*", "happy-dom": "*", "jsdom": "*", "playwright": "*", "safaridriver": "*", "webdriverio": "*" }, "peerDependenciesMeta": { "@vitest/ui": { "optional": true }, "@vitest/browser": { "optional": true }, "happy-dom": { "optional": true }, "jsdom": { "optional": true }, "webdriverio": { "optional": true }, "safaridriver": { "optional": true }, "playwright": { "optional": true }, "@edge-runtime/vm": { "optional": true } }, "dependencies": { "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/node": "*", "acorn": "^8.9.0", "acorn-walk": "^8.2.0", "cac": "^6.7.14", "chai": "^4.3.7", "debug": "^4.3.4", "local-pkg": "^0.4.3", "magic-string": "^0.30.1", "pathe": "^1.1.1", "picocolors": "^1.0.0", "std-env": "^3.3.3", "strip-literal": "^1.0.1", "tinybench": "^2.5.0", "tinypool": "^0.6.0", "vite": "^3.0.0 || ^4.0.0", "why-is-node-running": "^2.2.2", "@vitest/expect": "0.33.0", "@vitest/runner": "0.33.0", "@vitest/snapshot": "0.33.0", "@vitest/spy": "0.33.0", "@vitest/utils": "0.33.0", "vite-node": "0.33.0" }, "devDependencies": { "@ampproject/remapping": "^2.2.1", "@antfu/install-pkg": "^0.1.1", "@edge-runtime/vm": "3.0.3", "@jridgewell/trace-mapping": "^0.3.18", "@sinonjs/fake-timers": "^11.0.0", "@types/diff": "^5.0.3", "@types/estree": "^1.0.1", "@types/istanbul-lib-coverage": "^2.0.4", "@types/istanbul-reports": "^3.0.1", "@types/jsdom": "^21.1.1", "@types/micromatch": "^4.0.2", "@types/prompts": "^2.4.4", "@types/sinonjs__fake-timers": "^8.1.2", "birpc": "0.2.12", "chai-subset": "^1.6.0", "cli-truncate": "^3.1.0", "event-target-polyfill": "^0.0.3", "execa": "^7.1.1", "expect-type": "^0.16.0", "fast-glob": "^3.3.0", "find-up": "^6.3.0", "flatted": "^3.2.7", "get-tsconfig": "^4.6.2", "happy-dom": "^9.20.3", "jsdom": "^22.1.0", "log-update": "^5.0.1", "micromatch": "^4.0.5", "mlly": "^1.4.0", "p-limit": "^4.0.0", "pkg-types": "^1.0.3", "playwright": "^1.35.1", "pretty-format": "^29.5.0", "prompts": "^2.4.2", "safaridriver": "^0.0.5", "strip-ansi": "^7.1.0", "webdriverio": "^8.11.2", "ws": "^8.13.0" }, "scripts": { "build": "rimraf dist && rollup -c", "dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline" } }