mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
95 lines
2.4 KiB
JSON
95 lines
2.4 KiB
JSON
{
|
|
"name": "vitest",
|
|
"version": "0.0.31",
|
|
"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": {
|
|
"prepare": "esmo scripts/generate-types.ts",
|
|
"build": "rimraf dist && tsc -p src/tsconfig.json",
|
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
"prepublishOnly": "nr build",
|
|
"release": "bumpp --commit --push --tag && esmo scripts/publish.ts",
|
|
"test": "run-s test:*",
|
|
"test:core": "node bin/vitest.mjs --dev -r test/core",
|
|
"test:vue": "node bin/vitest.mjs --dev -r test/vue",
|
|
"test:react": "node bin/vitest.mjs --dev -r test/react",
|
|
"watch": "tsc -p src/tsconfig.json --watch"
|
|
},
|
|
"dependencies": {
|
|
"@antfu/utils": "^0.3.0",
|
|
"@jest/test-result": "^27.4.2",
|
|
"@types/chai": "^4.2.22",
|
|
"@types/sinon-chai": "^3.2.6",
|
|
"chai": "^4.3.4",
|
|
"chai-subset": "^1.6.0",
|
|
"diff": "^5.0.0",
|
|
"fast-glob": "^3.2.7",
|
|
"find-up": "^6.2.0",
|
|
"jest-snapshot": "^27.4.2",
|
|
"jest-util": "^27.4.2",
|
|
"jsdom": "^19.0.0",
|
|
"listr": "^0.14.3",
|
|
"picocolors": "^1.0.0",
|
|
"sade": "^1.7.4",
|
|
"sinon": "^12.0.1",
|
|
"sinon-chai": "^3.7.0",
|
|
"source-map": "^0.7.3"
|
|
},
|
|
"peerDependencies": {
|
|
"vite": "^2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.12.2",
|
|
"@antfu/ni": "^0.11.0",
|
|
"@types/chai-subset": "^1.3.3",
|
|
"@types/diff": "^5.0.1",
|
|
"@types/jsdom": "^16.2.13",
|
|
"@types/listr": "^0.14.4",
|
|
"@types/node": "^16.11.12",
|
|
"@types/sade": "^1.7.3",
|
|
"@types/sinon": "^10.0.6",
|
|
"bumpp": "^7.1.1",
|
|
"eslint": "^8.4.1",
|
|
"esno": "^0.12.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.2",
|
|
"typescript": "^4.5.2",
|
|
"vite": "^2.7.0"
|
|
}
|
|
}
|