-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
28 lines (28 loc) · 1.05 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
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"target": "es5", // Target ECMAScript 5
"module": "es2015", // Module code generation
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true, // Generate corresponding .d.ts file
"outDir": "./dist", // Output directory
"jsx": "react", // Support JSX in .tsx files
"noImplicitAny": true, // Raise error on expressions and declarations with an implied any type
"noImplicitReturns": true, // Raise error when not all code paths in function return a value.
"removeComments": false, // Remove all comments except copyright header comments beginning with /*!
"preserveConstEnums": true, // Do not erase const enum declarations in generated code.
"lib": ["es2015", "dom"],
"skipLibCheck": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"docs",
"src/**/*.s.tsx",
"src/**/*.stories.tsx"
]
}