{
  "name": "vitest",
  "type": "module",
  "version": "4.0.15",
  "description": "Next generation testing framework powered by Vite",
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  "license": "MIT",
  "funding": "https://opencollective.com/vitest",
  "homepage": "https://vitest.dev",
  "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,
  "imports": {
    "#module-evaluator": {
      "types": "./dist/module-evaluator.d.ts",
      "default": "./dist/module-evaluator.js"
    }
  },
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./index.d.cts",
        "default": "./index.cjs"
      }
    },
    "./browser": {
      "types": "./browser/context.d.ts",
      "default": "./browser/context.js"
    },
    "./package.json": "./package.json",
    "./optional-types.js": {
      "types": "./optional-types.d.ts"
    },
    "./src/*": "./src/*",
    "./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"
    },
    "./internal/browser": {
      "types": "./dist/browser.d.ts",
      "default": "./dist/browser.js"
    },
    "./internal/module-runner": {
      "types": "./dist/module-runner.d.ts",
      "default": "./dist/module-runner.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"
    },
    "./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"
    },
    "./worker": {
      "types": "./worker.d.ts",
      "default": "./dist/worker.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",
    "browser",
    "dist"
  ],
  "engines": {
    "node": "^20.0.0 || ^22.0.0 || >=24.0.0"
  },
  "peerDependencies": {
    "@edge-runtime/vm": "*",
    "@opentelemetry/api": "^1.9.0",
    "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
    "happy-dom": "*",
    "jsdom": "*",
    "@vitest/browser-playwright": "4.0.15",
    "@vitest/browser-preview": "4.0.15",
    "@vitest/ui": "4.0.15",
    "@vitest/browser-webdriverio": "4.0.15"
  },
  "peerDependenciesMeta": {
    "@edge-runtime/vm": {
      "optional": true
    },
    "@opentelemetry/api": {
      "optional": true
    },
    "@types/node": {
      "optional": true
    },
    "@vitest/browser-playwright": {
      "optional": true
    },
    "@vitest/browser-preview": {
      "optional": true
    },
    "@vitest/browser-webdriverio": {
      "optional": true
    },
    "@vitest/ui": {
      "optional": true
    },
    "happy-dom": {
      "optional": true
    },
    "jsdom": {
      "optional": true
    }
  },
  "dependencies": {
    "es-module-lexer": "^1.7.0",
    "expect-type": "^1.2.2",
    "magic-string": "^0.30.21",
    "obug": "^2.1.1",
    "pathe": "^2.0.3",
    "picomatch": "^4.0.3",
    "std-env": "^3.10.0",
    "tinybench": "^2.9.0",
    "tinyexec": "^1.0.2",
    "tinyglobby": "^0.2.15",
    "tinyrainbow": "^3.0.3",
    "vite": "^6.0.0 || ^7.0.0",
    "why-is-node-running": "^2.3.0",
    "@vitest/expect": "4.0.15",
    "@vitest/pretty-format": "4.0.15",
    "@vitest/runner": "4.0.15",
    "@vitest/mocker": "4.0.15",
    "@vitest/snapshot": "4.0.15",
    "@vitest/utils": "4.0.15",
    "@vitest/spy": "4.0.15"
  },
  "devDependencies": {
    "@antfu/install-pkg": "^1.1.0",
    "@edge-runtime/vm": "^5.0.0",
    "@jridgewell/trace-mapping": "0.3.31",
    "@opentelemetry/api": "^1.9.0",
    "@sinonjs/fake-timers": "14.0.0",
    "@types/estree": "^1.0.8",
    "@types/istanbul-lib-coverage": "^2.0.6",
    "@types/istanbul-reports": "^3.0.4",
    "@types/jsdom": "^27.0.0",
    "@types/node": "^24.10.1",
    "@types/picomatch": "^4.0.2",
    "@types/prompts": "^2.4.9",
    "@types/sinonjs__fake-timers": "^8.1.5",
    "acorn-walk": "^8.3.4",
    "birpc": "^2.8.0",
    "cac": "^6.7.14",
    "empathic": "^2.0.0",
    "flatted": "^3.3.3",
    "happy-dom": "^20.0.11",
    "jsdom": "^27.2.0",
    "local-pkg": "^1.1.2",
    "mime": "^4.1.0",
    "prompts": "^2.4.2",
    "strip-literal": "^3.1.0",
    "ws": "^8.18.3"
  },
  "scripts": {
    "build": "premove dist && rollup -c",
    "dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
  }
}