mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
28 lines
1.3 KiB
JSON
28 lines
1.3 KiB
JSON
{
|
|
"name": "@vitest/test-coverage",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "npm run test:c8 && npm run test:istanbul",
|
|
"test:c8": "npm run test:thread:c8 && npm run test:nothread:c8",
|
|
"coverage:c8": "vitest run --coverage.provider c8",
|
|
"coverage:thread:c8": "cross-env THREAD=true vitest run --coverage.provider c8",
|
|
"coverage-test:c8": "vitest -c vitest.config-c8-coverage.ts run",
|
|
"test:thread:c8": "npm run coverage:thread:c8 && npm run coverage-test:c8",
|
|
"test:nothread:c8": "npm run coverage:c8 && npm run coverage-test:c8",
|
|
"test:istanbul": "npm run test:thread:istanbul && npm run test:nothread:istanbul",
|
|
"coverage:istanbul": "vitest run --coverage.provider istanbul",
|
|
"coverage:thread:istanbul": "cross-env THREAD=true vitest run --coverage.provider istanbul",
|
|
"coverage-test:istanbul": "vitest -c vitest.config-istanbul-coverage.ts run",
|
|
"test:thread:istanbul": "npm run coverage:thread:istanbul && npm run coverage-test:istanbul",
|
|
"test:nothread:istanbul": "npm run coverage:istanbul && npm run coverage-test:istanbul"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "latest",
|
|
"@vue/test-utils": "latest",
|
|
"happy-dom": "latest",
|
|
"vite": "latest",
|
|
"vitest": "workspace:*",
|
|
"vue": "latest"
|
|
}
|
|
}
|