diff --git a/package.json b/package.json index 8a4c95d..b2235db 100644 --- a/package.json +++ b/package.json @@ -83,8 +83,7 @@ "dist/cjs/**/*", "dist/esm/**/*", "dist/types/**/*", - "!dist/**/*.test.*", - "!dist/testUtils", - "!dist/scratch.*" + "!dist/**/*.test.js", + "!dist/**/*.test.d.ts" ] } diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json index a250414..e7030ff 100644 --- a/tsconfig.cjs.json +++ b/tsconfig.cjs.json @@ -1,5 +1,6 @@ { "extends": "./tsconfig.json", + "exclude": ["node_modules", "dist", "**/testData", "**/*.test.ts"], "compilerOptions": { "module": "commonjs", "outDir": "dist/cjs", diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 8d7962f..ee07e0c 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -1,5 +1,6 @@ { "extends": "./tsconfig.json", + "exclude": ["node_modules", "dist", "**/testData", "**/*.test.ts"], "compilerOptions": { "module": "esnext", "moduleResolution": "bundler",