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.
134 lines
3.0 KiB
134 lines
3.0 KiB
{
|
|
"name": "vitest",
|
|
"version": "0.16.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"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/vitest-dev/vitest/issues"
|
|
},
|
|
"keywords": [
|
|
"vite",
|
|
"vite-node",
|
|
"test",
|
|
"jest"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs"
|
|
},
|
|
"./*": "./*",
|
|
"./globals": {
|
|
"types": "./globals.d.ts"
|
|
},
|
|
"./importMeta": {
|
|
"types": "./importMeta.d.ts"
|
|
},
|
|
"./node": {
|
|
"types": "./dist/node.d.ts",
|
|
"import": "./dist/node.mjs"
|
|
},
|
|
"./config": {
|
|
"types": "./config.d.ts",
|
|
"require": "./dist/config.cjs",
|
|
"import": "./dist/config.mjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"vitest": "./vitest.mjs"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin",
|
|
"*.d.ts",
|
|
"*.mjs"
|
|
],
|
|
"engines": {
|
|
"node": ">=v14.16.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@vitest/ui": "*",
|
|
"c8": "*",
|
|
"happy-dom": "*",
|
|
"jsdom": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@vitest/ui": {
|
|
"optional": true
|
|
},
|
|
"c8": {
|
|
"optional": true
|
|
},
|
|
"happy-dom": {
|
|
"optional": true
|
|
},
|
|
"jsdom": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@types/chai": "^4.3.1",
|
|
"@types/chai-subset": "^1.3.3",
|
|
"@types/node": "*",
|
|
"chai": "^4.3.6",
|
|
"debug": "^4.3.4",
|
|
"local-pkg": "^0.4.1",
|
|
"tinypool": "^0.2.1",
|
|
"tinyspy": "^0.3.3",
|
|
"vite": "^2.9.12"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/install-pkg": "^0.1.0",
|
|
"@sinonjs/fake-timers": "^9.1.2",
|
|
"@types/diff": "^5.0.2",
|
|
"@types/jsdom": "^16.2.14",
|
|
"@types/micromatch": "^4.0.2",
|
|
"@types/natural-compare": "^1.4.1",
|
|
"@types/prompts": "^2.4.0",
|
|
"@types/sinonjs__fake-timers": "^8.1.2",
|
|
"@vitest/ui": "0.16.0",
|
|
"birpc": "^0.2.3",
|
|
"c8": "^7.11.3",
|
|
"cac": "^6.7.12",
|
|
"chai-subset": "^1.6.0",
|
|
"cli-truncate": "^3.1.0",
|
|
"diff": "^5.1.0",
|
|
"execa": "^6.1.0",
|
|
"fast-glob": "^3.2.11",
|
|
"find-up": "^6.3.0",
|
|
"flatted": "^3.2.5",
|
|
"happy-dom": "^4.1.0",
|
|
"jsdom": "^19.0.0",
|
|
"log-update": "^5.0.1",
|
|
"magic-string": "^0.26.2",
|
|
"micromatch": "^4.0.5",
|
|
"mlly": "^0.5.3",
|
|
"natural-compare": "^1.4.0",
|
|
"p-limit": "^4.0.0",
|
|
"pathe": "^0.2.0",
|
|
"picocolors": "^1.0.0",
|
|
"pkg-types": "^0.3.3",
|
|
"pretty-format": "^27.5.1",
|
|
"prompts": "^2.4.2",
|
|
"rollup": "^2.75.7",
|
|
"source-map-js": "^1.0.2",
|
|
"strip-ansi": "^7.0.1",
|
|
"typescript": "^4.7.4",
|
|
"vite-node": "0.16.0",
|
|
"ws": "^8.8.0"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf dist && rollup -c",
|
|
"dev": "rollup -c --watch -m inline"
|
|
}
|
|
}
|