You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
168 lines
3.9 KiB
168 lines
3.9 KiB
2 years ago
|
{
|
||
|
"name": "vitest",
|
||
|
"type": "module",
|
||
|
"version": "0.27.0",
|
||
|
"description": "A blazing fast unit test framework powered by Vite",
|
||
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
||
|
"license": "MIT",
|
||
|
"funding": "https://github.com/sponsors/antfu",
|
||
|
"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"
|
||
|
},
|
||
|
"./environments": {
|
||
|
"types": "./dist/environments.d.ts",
|
||
|
"import": "./dist/environments.js"
|
||
|
},
|
||
|
"./browser": {
|
||
|
"types": "./dist/browser.d.ts",
|
||
|
"import": "./dist/browser.js"
|
||
|
},
|
||
|
"./config": {
|
||
|
"types": "./config.d.ts",
|
||
|
"require": "./dist/config.cjs",
|
||
|
"import": "./dist/config.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.16.0"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"@edge-runtime/vm": "*",
|
||
|
"@vitest/browser": "*",
|
||
|
"@vitest/ui": "*",
|
||
|
"happy-dom": "*",
|
||
|
"jsdom": "*"
|
||
|
},
|
||
|
"peerDependenciesMeta": {
|
||
|
"@vitest/ui": {
|
||
|
"optional": true
|
||
|
},
|
||
|
"@vitest/browser": {
|
||
|
"optional": true
|
||
|
},
|
||
|
"happy-dom": {
|
||
|
"optional": true
|
||
|
},
|
||
|
"jsdom": {
|
||
|
"optional": true
|
||
|
},
|
||
|
"@edge-runtime/vm": {
|
||
|
"optional": true
|
||
|
}
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@types/chai": "^4.3.4",
|
||
|
"@types/chai-subset": "^1.3.3",
|
||
|
"@types/node": "*",
|
||
|
"acorn": "^8.8.1",
|
||
|
"acorn-walk": "^8.2.0",
|
||
|
"cac": "^6.7.14",
|
||
|
"chai": "^4.3.7",
|
||
|
"debug": "^4.3.4",
|
||
|
"local-pkg": "^0.4.2",
|
||
|
"picocolors": "^1.0.0",
|
||
|
"source-map": "^0.6.1",
|
||
|
"strip-literal": "^1.0.0",
|
||
|
"tinybench": "^2.3.1",
|
||
|
"tinypool": "^0.3.0",
|
||
|
"tinyspy": "^1.0.2",
|
||
|
"vite": "^3.0.0 || ^4.0.0",
|
||
|
"vite-node": "0.27.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@antfu/install-pkg": "^0.1.1",
|
||
|
"@edge-runtime/vm": "2.0.2",
|
||
|
"@sinonjs/fake-timers": "^10.0.2",
|
||
|
"@types/diff": "^5.0.2",
|
||
|
"@types/jsdom": "^20.0.1",
|
||
|
"@types/micromatch": "^4.0.2",
|
||
|
"@types/natural-compare": "^1.4.1",
|
||
|
"@types/prompts": "^2.4.2",
|
||
|
"@types/sinonjs__fake-timers": "^8.1.2",
|
||
|
"birpc": "^0.2.3",
|
||
|
"chai-subset": "^1.6.0",
|
||
|
"cli-truncate": "^3.1.0",
|
||
|
"diff": "^5.1.0",
|
||
|
"event-target-polyfill": "^0.0.3",
|
||
|
"execa": "^6.1.0",
|
||
|
"expect-type": "^0.15.0",
|
||
|
"fast-glob": "^3.2.12",
|
||
|
"find-up": "^6.3.0",
|
||
|
"flatted": "^3.2.7",
|
||
|
"get-tsconfig": "^4.2.0",
|
||
|
"happy-dom": "^7.8.1",
|
||
|
"jsdom": "^20.0.3",
|
||
|
"log-update": "^5.0.1",
|
||
|
"magic-string": "^0.27.0",
|
||
|
"micromatch": "^4.0.5",
|
||
|
"mlly": "^1.0.0",
|
||
|
"natural-compare": "^1.4.0",
|
||
|
"p-limit": "^4.0.0",
|
||
|
"pathe": "^0.2.0",
|
||
|
"pkg-types": "^1.0.1",
|
||
|
"pretty-format": "^27.5.1",
|
||
|
"prompts": "^2.4.2",
|
||
|
"rollup": "^2.79.1",
|
||
|
"strip-ansi": "^7.0.1",
|
||
|
"typescript": "^4.9.4",
|
||
|
"ws": "^8.11.0",
|
||
|
"@vitest/expect": "0.27.0",
|
||
|
"@vitest/utils": "0.27.0",
|
||
|
"@vitest/spy": "0.27.0",
|
||
|
"@vitest/ui": "0.27.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "rimraf dist && rollup -c",
|
||
|
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
|
||
|
}
|
||
|
}
|