-
Notifications
You must be signed in to change notification settings - Fork 41
/
tsconfig.json
23 lines (23 loc) · 1.34 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
{
"compilerOptions": {
"baseUrl": ".",
"target": "esnext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "commonjs" /* Specify what module code is generated. */,
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */,
"strict": true /* Enable all strict type-checking options. */,
"jsx": "react-jsx",
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
"strictNullChecks": true /* When type checking, take into account `null` and `undefined`. */,
"resolveJsonModule": true /* Enable importing .json files */,
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"outDir": "./dist"
},
"include": ["./src/**/*", "./data/**/*", "read-textile.ts"],
"exclude": ["./dist/**/*"],
"paths": {
"@reach/router": ["../node_modules/@gatsbyjs/reach-router"]
}
}