From 276c1a42f307fd81a84ca4e4d6358d12bbb1a06c Mon Sep 17 00:00:00 2001 From: Mo Gorhom Date: Fri, 3 Apr 2020 20:07:53 +0200 Subject: [PATCH] chore: exclude example filder types from distribution --- example/tsconfig.json | 27 +++++++++++++++++++++++++++ tsconfig.json | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 example/tsconfig.json diff --git a/example/tsconfig.json b/example/tsconfig.json new file mode 100644 index 0000000..c5fad3e --- /dev/null +++ b/example/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@gorhom/paper-onboarding": ["../src/index"] + }, + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react", + "lib": ["esnext"], + "module": "esnext", + "moduleResolution": "node", + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "noImplicitUseStrict": false, + "noStrictGenericChecks": false, + "noUnusedLocals": true, + "noUnusedParameters": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "strict": true, + "target": "esnext" + }, + "include": ["src"] +} diff --git a/tsconfig.json b/tsconfig.json index fdfa94f..0a40b45 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,5 +22,6 @@ "skipLibCheck": true, "strict": true, "target": "esnext" - } + }, + "include": ["src"] }