2025-04-27 20:47:47 +00:00
|
|
|
{
|
2025-05-01 21:25:40 +00:00
|
|
|
"extends": "@repo/typescript-config/base.json",
|
2025-04-27 20:47:47 +00:00
|
|
|
"compilerOptions": {
|
2025-05-01 21:25:40 +00:00
|
|
|
/* Basic Options */
|
|
|
|
|
"target": "ES2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
|
|
|
|
|
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
|
|
|
|
"lib": ["ES2022", "dom"] /* Specify library files to be included in the compilation. */,
|
|
|
|
|
|
|
|
|
|
"allowJs": false /* Allow javascript files to be compiled. */,
|
|
|
|
|
"pretty": true,
|
|
|
|
|
// "checkJs": true, /* Report errors in .js files. */
|
|
|
|
|
"jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
|
|
|
|
|
// "declaration": true, /* Generates corresponding '.d.ts' file. */
|
|
|
|
|
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
|
|
|
|
"sourceMap": true /* Generates corresponding '.map' file. */,
|
|
|
|
|
// "outFile": "./", /* Concatenate and emit output to single file. */
|
|
|
|
|
"outDir": "./dist/" /* Redirect output structure to the directory. */,
|
|
|
|
|
//"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
|
|
|
|
|
// "composite": true, /* Enable project compilation */
|
|
|
|
|
"removeComments": true /* Do not emit comments to output. */,
|
|
|
|
|
// "noEmit": true, /* Do not emit outputs. */
|
|
|
|
|
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
|
|
|
|
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
|
|
|
|
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
|
|
|
|
|
|
|
|
|
/* Strict Type-Checking Options */
|
|
|
|
|
"skipLibCheck": false /* Skip type checking of declaration files. */,
|
|
|
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
|
|
|
"noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
|
|
|
"strictNullChecks": true /* Enable strict null checks. */,
|
|
|
|
|
"strictFunctionTypes": true /* Enable strict checking of function types. */,
|
|
|
|
|
"strictPropertyInitialization": false /* Enable strict checking of property initialization in classes. */,
|
|
|
|
|
"noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
|
|
|
|
|
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
|
|
|
|
|
|
|
|
|
/* Additional Checks */
|
|
|
|
|
"noUnusedLocals": false /* Report errors on unused locals. */,
|
|
|
|
|
"noUnusedParameters": false /* Report errors on unused parameters. */,
|
|
|
|
|
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
|
|
|
|
|
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
|
|
|
|
|
|
|
|
|
|
/* Module Resolution Options */
|
|
|
|
|
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
|
|
|
//"baseUrl": "./" /* Base directory to resolve non-absolute module names. */,
|
|
|
|
|
|
|
|
|
|
"rootDir": "./src",
|
|
|
|
|
//"types": ["node", "jest"],
|
2025-04-27 20:47:47 +00:00
|
|
|
|
|
|
|
|
"baseUrl": "./",
|
|
|
|
|
"paths": {
|
|
|
|
|
"#/*": ["./src/*"]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-05-01 21:25:40 +00:00
|
|
|
"files": ["src/index.ts"],
|
|
|
|
|
"include": ["src/index.ts"],
|
|
|
|
|
"exclude": ["node_modules", "dist", "**/*/__tests__"]
|
2025-04-27 20:47:47 +00:00
|
|
|
}
|