1
0
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:
2025-05-19 04:34:13 +07:00
parent c5f34efe05
commit fa726eecc4
8 changed files with 110 additions and 1201 deletions

View File

@@ -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"
}
}