mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
131 lines
3.4 KiB
JSON
131 lines
3.4 KiB
JSON
{
|
|
"name": "vitest",
|
|
"version": "0.0.75",
|
|
"description": "A blazing fast unit test framework powered by Vite",
|
|
"keywords": [
|
|
"vite",
|
|
"vite-node",
|
|
"test",
|
|
"jest"
|
|
],
|
|
"homepage": "https://github.com/antfu/vitest#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/antfu/vitest/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antfu/vitest.git"
|
|
},
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"license": "MIT",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./*": "./*"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"vitest": "./bin/vitest.mjs"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin",
|
|
"*.d.ts"
|
|
],
|
|
"scripts": {
|
|
"build": "rimraf dist && rollup -c",
|
|
"coverage": "node bin/vitest.mjs -r test/core --coverage",
|
|
"dev": "rollup -c -w src",
|
|
"docs": "npm -C docs run dev",
|
|
"docs:build": "npm -C docs run build",
|
|
"docs:serve": "npm -C docs run serve",
|
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
"prepublishOnly": "nr build",
|
|
"release": "bumpp --commit --push --tag && esmo scripts/publish.ts",
|
|
"test": "node bin/vitest.mjs -r test/core",
|
|
"test:all": "cross-env CI=true pnpm -r --stream --filter !vitest run test --",
|
|
"test:ci": "cross-env CI=true pnpm -r --stream --filter !vitest --filter !@vitest/test-fails run test --",
|
|
"typecheck": "tsc --noEmit && nr lint",
|
|
"ci": "ni && nr typecheck && nr lint && nr build && nr test:all"
|
|
},
|
|
"dependencies": {
|
|
"@types/chai": "^4.3.0",
|
|
"@types/chai-subset": "^1.3.3",
|
|
"@types/sinon": "^10.0.6",
|
|
"@types/sinon-chai": "^3.2.6",
|
|
"chai": "^4.3.4",
|
|
"chai-subset": "^1.6.0",
|
|
"fast-glob": "^3.2.7",
|
|
"local-pkg": "^0.4.0",
|
|
"micromatch": "^4.0.4",
|
|
"piscina": "^3.2.0",
|
|
"sinon": "^12.0.1",
|
|
"sinon-chai": "^3.7.0",
|
|
"source-map": "^0.7.3"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.13.1",
|
|
"@antfu/ni": "^0.12.0",
|
|
"@rollup/plugin-alias": "^3.1.8",
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
"@types/diff": "^5.0.1",
|
|
"@types/jsdom": "^16.2.13",
|
|
"@types/micromatch": "^4.0.2",
|
|
"@types/natural-compare": "^1.4.1",
|
|
"@types/node": "^16.11.12",
|
|
"@types/sade": "^1.7.3",
|
|
"bumpp": "^7.1.1",
|
|
"c8": "^7.10.0",
|
|
"cac": "^6.7.12",
|
|
"cli-truncate": "^3.1.0",
|
|
"cross-env": "^7.0.3",
|
|
"diff": "^5.0.0",
|
|
"eslint": "^8.4.1",
|
|
"esno": "^0.12.1",
|
|
"find-up": "^6.2.0",
|
|
"happy-dom": "^2.24.5",
|
|
"jsdom": "^19.0.0",
|
|
"log-update": "^5.0.0",
|
|
"nanoid": "^3.1.30",
|
|
"natural-compare": "^1.4.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"picocolors": "^1.0.0",
|
|
"pretty-format": "^27.4.2",
|
|
"rimraf": "^3.0.2",
|
|
"rollup-plugin-dts": "^4.0.1",
|
|
"rollup-plugin-esbuild": "^4.7.2",
|
|
"strip-ansi": "^7.0.1",
|
|
"tsup": "^5.11.1",
|
|
"typescript": "^4.5.3",
|
|
"vite": "^2.7.1"
|
|
},
|
|
"peerDependencies": {
|
|
"c8": "*",
|
|
"happy-dom": "*",
|
|
"jsdom": "*",
|
|
"vite": "^2.7.1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"c8": {
|
|
"optional": true
|
|
},
|
|
"happy-dom": {
|
|
"optional": true
|
|
},
|
|
"jsdom": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
}
|
|
}
|