a reactive (signals based) hypermedia web framework (wip)
stormlightlabs.github.io/volt/
hypermedia
frontend
signals
1import path from "node:path";
2import { defineConfig } from "vitest/config";
3
4export default defineConfig({
5 test: {
6 globals: true,
7 environment: "node",
8 coverage: {
9 provider: "v8",
10 reporter: ["text", "html", "lcov"],
11 include: ["src/**/*.ts"],
12 exclude: ["src/tests/**", "src/**/*.test.ts", "src/index.ts", "src/commands/dev.ts", "src/commands/build.ts"],
13 all: true,
14 thresholds: { lines: 95, functions: 95, branches: 80, statements: 95 },
15 },
16 },
17 resolve: {
18 alias: {
19 "$commands": path.resolve(__dirname, "./src/commands"),
20 "$templates": path.resolve(__dirname, "./src/templates"),
21 "$utils": path.resolve(__dirname, "./src/utils"),
22 },
23 },
24});