mirror of
https://github.com/dzeiocom/components.git
synced 2025-04-22 19:02:15 +00:00
48 lines
1.3 KiB
JSON
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"
|
|
]
|
|
}
|