34 lines
1.9 KiB
JSON
34 lines
1.9 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Visit https://aka.ms/tsconfig.json to read more about this file */
|
|
/* Basic Options */
|
|
"target": "es2020" /* Specify ECMAScript target version: 'es3' (default), 'es5', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', or 'esnext'. */,
|
|
"module": "node16" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', 'esnext', or 'nodenext'. */,
|
|
"outDir": "./dist" /* Redirect output structure to the directory. */,
|
|
/* Strict Type-Checking Options */
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node16" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
"baseUrl": "." /* Base directory to resolve non-absolute module names. */,
|
|
"paths": {
|
|
"@/*": ["./src/*", "./dist/*"]
|
|
},
|
|
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
/* List of folders to include type definitions from. */
|
|
// Note that when you include any type definition, you must then
|
|
// include node_modules/@types, as it is no longer included by default.
|
|
"typeRoots": ["./node_modules/@types", "./@types"],
|
|
"resolveJsonModule": true /* Supports importing .json files. */,
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
/* Advanced Options */
|
|
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
|
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
"useDefineForClassFields": true
|
|
},
|
|
"include": ["src/**/*"]
|
|
}
|