vitest/test/coverage-test/package.json
2022-11-21 16:50:58 +01:00

29 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": "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": "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",
"execa": "^6.1.0",
"happy-dom": "latest",
"vite": "latest",
"vitest": "workspace:*",
"vue": "latest"
}
}