diff --git a/typescript/.npmignore b/typescript/.npmignore index 8a8333c..7504898 100644 --- a/typescript/.npmignore +++ b/typescript/.npmignore @@ -1,3 +1,9 @@ src/ + tsconfig.json -.gitignore \ No newline at end of file +.gitignore + +# Ignore all test files +**/__tests__/ +*.test.ts +*.spec.ts diff --git a/typescript/tsconfig.json b/typescript/tsconfig.json index baccc62..451fd5d 100644 --- a/typescript/tsconfig.json +++ b/typescript/tsconfig.json @@ -15,6 +15,6 @@ "*": ["../../configs/*"] } }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist", "test/**/*"] + "include": ["src/**/*.ts"], + "exclude": ["**/*.test.ts", "**/*.spec.ts", "**/__tests__/**"] }