From 27a1246fd9f8a7dcf584ba64393a0a1684e72df5 Mon Sep 17 00:00:00 2001 From: Kevin Brey Date: Mon, 22 Jul 2024 14:22:34 -0500 Subject: [PATCH] fix(build): add default export (#9) --- src/index.ts | 2 ++ vite.config.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 456809a..c1826d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -70,3 +70,5 @@ export class TinyReporter implements Reporter { ); } } + +export default TinyReporter; diff --git a/vite.config.ts b/vite.config.ts index 732a604..b96c912 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -22,10 +22,10 @@ export default { coverage: { reporter: ['cobertura', 'text', 'html', 'lcov'], thresholds: { - statements: 93.75, + statements: 93.8, branches: 82.75, functions: 100, - lines: 93.75, + lines: 93.8, autoUpdate: true, }, exclude: ['./*.config.{js,ts,mts}', 'dist'],