components/tsconfig.json
Florian Bouillon b43329caa1
feat: Moved to vite
Signed-off-by: Avior <f.bouillon@aptatio.com>
2022-09-27 12:56:56 +02:00

48 lines
1.3 KiB
JSON

{
"compilerOptions": {
// from @dzeio/config
"target": "ES2019", // Follow NodeJS oldest supported LTS and use version from https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
"module": "commonjs",
"resolveJsonModule": true,
"moduleResolution": "node",
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipLibCheck": true,
"allowJs": true,
"pretty": true,
"allowSyntheticDefaultImports": true,
// Type Checking
"forceConsistentCasingInFileNames": true,
"alwaysStrict": true,
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
// -end
"jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"declarationDir": "types",
"importHelpers": false, /* Import emit helpers from 'tslib'. */
},
"include": [
"src/**/*",
"src/stylus.d.ts",
],
"exclude": [
"node_modules",
"build",
"src/**/*.stories.tsx"
]
}