27 lines
1.6 KiB
JSON
27 lines
1.6 KiB
JSON
{
|
|
"include": ["src"],
|
|
"exclude": ["node_modules","samples","tests"],
|
|
"compilerOptions": {
|
|
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
|
|
/* Language and Environment */
|
|
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
|
|
/* Modules */
|
|
"module": "commonjs", /* Specify what module code is generated. */
|
|
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
|
|
/* Emit */
|
|
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
"outDir": "./dist", /* Specify an output folder for all emitted files. */
|
|
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
|
|
/* Type Checking */
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
}
|
|
}
|