diff --git a/apps/examples/.eslintrc.js b/apps/.eslintrc.js similarity index 100% rename from apps/examples/.eslintrc.js rename to apps/.eslintrc.js diff --git a/apps/examples/.prettierrc.js b/apps/.prettierrc.js similarity index 100% rename from apps/examples/.prettierrc.js rename to apps/.prettierrc.js diff --git a/apps/examples/tsconfig.json b/apps/examples/tsconfig.json deleted file mode 100644 index 1ca4a89ab..000000000 --- a/apps/examples/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "compilerOptions": { - "moduleSuffixes": [".macos", ""] - }, - "extends": "../../tsconfig.json", - "include": ["**/*.ts", "**/*.tsx", "**/*.js"] -} diff --git a/apps/test-examples/.eslintrc.js b/apps/test-examples/.eslintrc.js deleted file mode 100644 index 187894b6a..000000000 --- a/apps/test-examples/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: '@react-native', -}; diff --git a/apps/test-examples/.prettierrc.js b/apps/test-examples/.prettierrc.js deleted file mode 100644 index 2b540746a..000000000 --- a/apps/test-examples/.prettierrc.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - arrowParens: 'avoid', - bracketSameLine: true, - bracketSpacing: false, - singleQuote: true, - trailingComma: 'all', -}; diff --git a/apps/test-examples/tsconfig.json b/apps/test-examples/tsconfig.json deleted file mode 100644 index 19aefad26..000000000 --- a/apps/test-examples/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["**/*.ts", "**/*.tsx", "**/*.js"] -} diff --git a/apps/tsconfig.json b/apps/tsconfig.json new file mode 100644 index 000000000..8d315214d --- /dev/null +++ b/apps/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "moduleSuffixes": [".macos", ""], + "baseUrl": ".", + "paths": { + "react-native-svg": ["../src"], + "react-native-svg/css": ["../src/css/index.tsx"], + "react-native-svg/filter-image": ["../src/filter-image/index.tsx"], + "react-native-reanimated": [ + "../example/node_modules/react-native-reanimated" + ] + } + }, + "include": ["**/*.ts", "**/*.tsx", "**/*.js"] +}