mirror of
https://github.com/robonen/tools.git
synced 2026-03-20 02:44:45 +00:00
chore: add workspace vitest configuration for testing with jsdom and coverage
This commit is contained in:
14
package.json
14
package.json
@@ -25,14 +25,14 @@
|
||||
"citty": "^0.1.6",
|
||||
"jiti": "^2.4.2",
|
||||
"scule": "^1.3.0",
|
||||
"vitepress": "^1.6.3"
|
||||
"jsdom": "catalog:",
|
||||
"vitest": "catalog:",
|
||||
"@vitest/coverage-v8": "catalog:",
|
||||
"@vitest/ui": "catalog:"
|
||||
},
|
||||
"scripts": {
|
||||
"all:build": "pnpm -r build",
|
||||
"all:test": "pnpm -r test",
|
||||
"create": "jiti ./bin/cli.ts",
|
||||
"docs:dev": "vitepress dev .",
|
||||
"docs:build": "vitepress build .",
|
||||
"docs:preview": "vitepress preview ."
|
||||
"build": "pnpm -r build",
|
||||
"test": "vitest",
|
||||
"create": "jiti ./bin/cli.ts"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user