/
tsconfig.json
30 lines (29 loc) · 1.36 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"compilerOptions": {
"target": "ESNEXT" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "esnext"/* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"lib": ["dom", "dom.iterable"],
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@shared/*": ["src/shared/*"],
"@components/*": ["src/components/*"],
"@public/*": ["public/*"]
},
"declaration": true,
"declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */,
"skipLibCheck": true,
"strict": true,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"declarationDir": "./dist",
"outDir": "./dist",
"moduleResolution": "node",
"allowJs": true,
"noImplicitAny": false,
"strictNullChecks": false,
"plugins": [{ "name": "typescript-plugin-css-modules" }],
"typeRoots" : ["node_modules/@types", "src/types"]
},
"include": ["./index.tsx", "./**/index.tsx", "./**/*.css", "declarations.d.ts", "images.d.ts", "./**/index.ts", "./**/**/*.png"],
"exclude": ["node_modules", "./src/**/*.stories.@(js|jsx|ts|tsx)"]
}