Files
puaros/packages/core/vitest.config.ts
imfozilbek ba6ffb197c feat: add core package
Add @puaros/core package with TypeScript configuration, Vitest test setup, and package structure
2025-11-23 21:19:44 +05:00

29 lines
712 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
},
test: {
globals: true,
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html', 'lcov'],
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/*.test.ts',
'**/*.spec.ts',
'**/tests/**',
],
thresholds: {
lines: 80,
functions: 80,
branches: 80,
statements: 80,
},
},
},
});