|
2 | 2 | "compilerOptions": {
|
3 | 3 | "target": "es5",
|
4 | 4 | "lib": [
|
5 |
| - "dom", |
6 |
| - "dom.iterable", |
7 |
| - "esnext" |
| 5 | + "ES2020", |
| 6 | + "dom" |
8 | 7 | ],
|
9 |
| - "allowJs": true, |
10 |
| - "skipLibCheck": true, |
11 |
| - "esModuleInterop": true, |
12 |
| - "allowSyntheticDefaultImports": true, |
| 8 | + "outDir": "lib", |
| 9 | + "jsx": "react-jsx", |
| 10 | + "module": "CommonJS", |
| 11 | + "declaration": true, |
| 12 | + "declarationMap": true, |
| 13 | + "sourceMap": true, |
13 | 14 | "strict": true,
|
14 |
| - "forceConsistentCasingInFileNames": true, |
| 15 | + "noImplicitAny": false, |
| 16 | + "strictNullChecks": true, |
| 17 | + "strictFunctionTypes": true, |
| 18 | + "strictPropertyInitialization": true, |
| 19 | + "noImplicitThis": true, |
| 20 | + "alwaysStrict": true, |
| 21 | + "noUnusedLocals": true, |
| 22 | + "noUnusedParameters": true, |
| 23 | + "noImplicitReturns": true, |
15 | 24 | "noFallthroughCasesInSwitch": true,
|
16 |
| - "module": "esnext", |
17 | 25 | "moduleResolution": "node",
|
18 | 26 | "resolveJsonModule": true,
|
19 |
| - "isolatedModules": false, |
20 |
| - "noEmit": true, |
21 |
| - "jsx": "react-jsx" |
| 27 | + "esModuleInterop": true, |
| 28 | + "allowSyntheticDefaultImports": true, |
| 29 | + "allowJs": true, |
| 30 | + "skipLibCheck": true, |
| 31 | + "forceConsistentCasingInFileNames": true, |
| 32 | + "isolatedModules": true, |
| 33 | + "noEmit": false, |
| 34 | + "paths": { |
| 35 | + "react": [ "./node_modules/@types/react" ] |
| 36 | + } |
22 | 37 | },
|
23 | 38 | "include": [
|
24 | 39 | "src"
|
| 40 | + ], |
| 41 | + "exclude": [ |
| 42 | + "node_modules", |
| 43 | + "**/*.test.ts", |
| 44 | + "**/*.test.tsx", |
| 45 | + "**/*.stories.tsx", |
| 46 | + "./src/setupTests.ts" |
| 47 | + ], |
| 48 | + "files": [ |
| 49 | + "./src/index.tsx" |
25 | 50 | ]
|
26 | 51 | }
|
0 commit comments