{ "compilerOptions": { "target": "es2019", "sourceMap": true, "module": "commonjs", "allowJs": true, /* Allow javascript files to be compiled. */ "checkJs": false, /* Report errors in .js files. */ "jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ "declaration": true, /* Generates corresponding '.d.ts' file. */ /* 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. */ /* Do not emit comments to output. */ "noEmit": false, /* Do not emit outputs. */ "strict": false, /* Enable all strict type-checking options. */ "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ "paths": { "payload/generated-types": [ "./src/generated-types.ts", ], "payload/config": [ "./src/config/types.ts" ], "payload/auth": [ "./src/auth/types.ts" ], "payload/types": [ "./src/types/index.ts", ], }, "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ "resolveJsonModule": true, "skipLibCheck": true, /* Skip type checking of declaration files. */ "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */ }, "ts-node": { "swc": true, }, "include": [ "src/" ], "exclude": [ "dist", "build", "tests", "**/*.spec.js", "**/*.spec.ts", "node_modules", ".eslintrc.js" ] }