diff --git a/package.json b/package.json index 6da8792b..073ed4d8 100644 --- a/package.json +++ b/package.json @@ -67,13 +67,15 @@ "source": "src/index.ts", "module": "lib/module/index.js", "react-native-builder-bob": { + "declarationMap": false, "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" - ] + ], + "exclude": ["**/{__tests__,__fixtures__,__mocks__}/**", "**/*.test.*"] }, "config": { "commitizen": { diff --git a/tsconfig.json b/tsconfig.json index bad2d311..a11f240e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,5 +15,6 @@ "rootDir": "src", "skipLibCheck": true }, - "include": ["src/**/*.ts", "src/**/*.tsx"] + "include": ["src/**/*.ts", "src/**/*.tsx"], + "exclude": ["**/*.test.*", "node_modules"] }