/
package.json
28 lines (28 loc) · 1.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"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",
"execa": "^6.1.0",
"happy-dom": "latest",
"vite": "latest",
"vitest": "workspace:*",
"vue": "latest"
}
}