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

@@ -69,14 +69,11 @@ const generatePackageJson = async (name: string, path: string, hasVite: boolean)
},
type: 'module',
files: ['dist'],
main: './dist/index.umd.js',
module: './dist/index.js',
types: './dist/index.d.ts',
exports: {
'.': {
types: './dist/index.d.ts',
import: './dist/index.js',
require: './dist/index.umd.js',
types: './dist/index.d.ts',
},
},
scripts: {