diff options
Diffstat (limited to 'examples/with-react-native-web/packages/tsconfig')
4 files changed, 62 insertions, 0 deletions
diff --git a/examples/with-react-native-web/packages/tsconfig/base.json b/examples/with-react-native-web/packages/tsconfig/base.json new file mode 100644 index 0000000..d72a9f3 --- /dev/null +++ b/examples/with-react-native-web/packages/tsconfig/base.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Default", + "compilerOptions": { + "composite": false, + "declaration": true, + "declarationMap": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "inlineSources": false, + "isolatedModules": true, + "moduleResolution": "node", + "noUnusedLocals": false, + "noUnusedParameters": false, + "preserveWatchOutput": true, + "skipLibCheck": true, + "strict": true + }, + "exclude": ["node_modules"] +} diff --git a/examples/with-react-native-web/packages/tsconfig/nextjs.json b/examples/with-react-native-web/packages/tsconfig/nextjs.json new file mode 100644 index 0000000..e45500d --- /dev/null +++ b/examples/with-react-native-web/packages/tsconfig/nextjs.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Next.js", + "extends": "./base.json", + "compilerOptions": { + "allowJs": true, + "declaration": false, + "declarationMap": false, + "incremental": true, + "jsx": "preserve", + "lib": ["dom", "dom.iterable", "esnext"], + "module": "esnext", + "noEmit": true, + "resolveJsonModule": true, + "strict": false, + "target": "es5" + }, + "include": ["src", "next-env.d.ts"], + "exclude": ["node_modules"] +} diff --git a/examples/with-react-native-web/packages/tsconfig/package.json b/examples/with-react-native-web/packages/tsconfig/package.json new file mode 100644 index 0000000..6efb83e --- /dev/null +++ b/examples/with-react-native-web/packages/tsconfig/package.json @@ -0,0 +1,9 @@ +{ + "name": "tsconfig", + "version": "0.0.0", + "private": true, + "license": "MIT", + "publishConfig": { + "access": "public" + } +} diff --git a/examples/with-react-native-web/packages/tsconfig/react-native-library.json b/examples/with-react-native-web/packages/tsconfig/react-native-library.json new file mode 100644 index 0000000..d03da4b --- /dev/null +++ b/examples/with-react-native-web/packages/tsconfig/react-native-library.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "React Native Library", + "extends": "./base.json", + "compilerOptions": { + "allowJs": true, + "jsx": "react", + "lib": ["DOM", "ESNext"], + "noEmit": true, + "resolveJsonModule": true, + "target": "ESNext" + } +} |
