forked from payloadcms/payload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
44 lines (44 loc) · 2.14 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"compilerOptions": {
"declaration": true /* Generates corresponding '.d.ts' file. */,
"declarationMap": true, // This will allow code navigation between projects.
"target": "ESNext",
"module": "Node16",
"moduleResolution": "Node16" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
/* Do not emit comments to output. */
"allowJs": true /* Allow javascript files to be compiled. */,
"checkJs": false /* Report errors in .js files. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
"lib": ["dom", "dom.iterable", "esnext"],
"noEmit": true /* Do not emit outputs. */,
/* Concatenate and emit output to single file. */
"outDir": "./dist" /* Redirect output structure to the directory. */,
"resolveJsonModule": true,
"rootDir": "." /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
"skipLibCheck": true /* Skip type checking of declaration files. */,
"sourceMap": true,
"strict": false /* Enable all strict type-checking options. */,
"types": ["jest", "node", "@types/jest"]
},
"exclude": ["dist", "build", "temp", "node_modules"],
/* Like tsconfig.build.json, but includes test directory and doesnt emit anything */
"include": [],
"files": [],
"ts-node": {
"swc": true
},
"composite": true, // Required for references to work
"references": [
{ "path": "./packages/db-mongodb" },
// if your tsconfig is something different
{ "path": "./packages/db-postgres" },
{ "path": "./packages/richtext-slate" },
{ "path": "./packages/richtext-lexical" },
{ "path": "./packages/payload" },
{ "path": "./packages/plugin-nested-docs" },
{ "path": "./packages/live-preview" },
{ "path": "./packages/live-preview-react" }
]
}