|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 |
| - "allowJs": true, |
4 |
| - "allowSyntheticDefaultImports": true, |
| 3 | + "outDir": "lib/esm", |
| 4 | + "module": "esnext", |
| 5 | + "target": "es5", |
| 6 | + "lib": ["es6", "dom", "es2016", "es2017"], |
| 7 | + "jsx": "react", |
5 | 8 | "declaration": true,
|
6 |
| - "esModuleInterop": true, |
7 |
| - "forceConsistentCasingInFileNames": true, |
8 |
| - "isolatedModules": true, |
9 |
| - "jsx": "react-jsx", |
10 |
| - "module": "commonjs", |
11 | 9 | "moduleResolution": "node",
|
12 |
| - "noEmit": true, |
13 |
| - "noFallthroughCasesInSwitch": true, |
14 |
| - "outDir": "dist", |
15 |
| - "resolveJsonModule": true, |
16 |
| - "skipLibCheck": true, |
17 |
| - "sourceMap": true, |
18 |
| - "strict": true, |
19 |
| - "target": "es6" |
| 10 | + "noUnusedLocals": true, |
| 11 | + "noUnusedParameters": true, |
| 12 | + "esModuleInterop": true, |
| 13 | + "noImplicitReturns": true, |
| 14 | + "noImplicitThis": true, |
| 15 | + "noImplicitAny": true, |
| 16 | + "strictNullChecks": true, |
| 17 | + "suppressImplicitAnyIndexErrors": true, |
| 18 | + "allowSyntheticDefaultImports": true |
20 | 19 | },
|
21 |
| - "files": ["src/index.tsx"], |
22 |
| - "exclude": ["test", "node_modules", "dist"] |
| 20 | + "include": ["src"], |
| 21 | + "exclude": ["node_modules", "lib", "src/**.mock.ts*", "src/**.test.tsx"] |
23 | 22 | }
|
0 commit comments