mirror of
https://github.com/vitest-dev/vitest.git
synced 2026-01-25 16:48:18 +00:00
89 lines
2.3 KiB
JSON
89 lines
2.3 KiB
JSON
{
|
|
"name": "@vitest/browser",
|
|
"type": "module",
|
|
"version": "4.0.0-beta.18",
|
|
"description": "Browser running for Vitest",
|
|
"license": "MIT",
|
|
"funding": "https://opencollective.com/vitest",
|
|
"homepage": "https://github.com/vitest-dev/vitest/tree/main/packages/browser#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vitest-dev/vitest.git",
|
|
"directory": "packages/browser"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/vitest-dev/vitest/issues"
|
|
},
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./context": {
|
|
"types": "./context.d.ts",
|
|
"default": "./context.js"
|
|
},
|
|
"./client": {
|
|
"default": "./dist/client.js"
|
|
},
|
|
"./matchers": {
|
|
"types": "./matchers.d.ts",
|
|
"default": "./dummy.js"
|
|
},
|
|
"./locators": {
|
|
"types": "./dist/locators.d.ts",
|
|
"default": "./dist/locators.js"
|
|
},
|
|
"./utils": {
|
|
"default": "./dummy.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"*.d.ts",
|
|
"context.js",
|
|
"dist",
|
|
"dummy.js",
|
|
"providers"
|
|
],
|
|
"scripts": {
|
|
"typecheck": "tsc -p ./src/client/tsconfig.json --noEmit",
|
|
"typecheck:why": "tsc -p ./src/client/tsconfig.json --noEmit --explainFiles > explainTypes.txt",
|
|
"build": "premove dist && pnpm build:node && pnpm build:client",
|
|
"build:client": "vite build src/client",
|
|
"build:node": "rollup -c",
|
|
"dev:client": "vite build src/client --watch",
|
|
"dev:node": "rollup -c --watch --watch.include 'src/**'",
|
|
"dev": "premove dist && pnpm run --stream '/^dev:/'"
|
|
},
|
|
"peerDependencies": {
|
|
"vitest": "workspace:*"
|
|
},
|
|
"dependencies": {
|
|
"@vitest/mocker": "workspace:*",
|
|
"@vitest/utils": "workspace:*",
|
|
"magic-string": "catalog:",
|
|
"pixelmatch": "7.1.0",
|
|
"pngjs": "^7.0.0",
|
|
"sirv": "catalog:",
|
|
"tinyrainbow": "catalog:",
|
|
"ws": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/pngjs": "^6.0.5",
|
|
"@types/ws": "catalog:",
|
|
"@vitest/runner": "workspace:*",
|
|
"birpc": "catalog:",
|
|
"flatted": "catalog:",
|
|
"ivya": "^1.7.0",
|
|
"mime": "^4.1.0",
|
|
"pathe": "catalog:",
|
|
"vitest": "workspace:*"
|
|
}
|
|
}
|