Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mololab
GitHub Repository: mololab/json-translator
Path: blob/master/tsconfig.json
175 views
1
{
2
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
3
"include": ["src/**/*"],
4
"compilerOptions": {
5
"rootDir": ".",
6
"outDir": ".", // if out path for a file is same as its src path, nothing will be emitted
7
"composite": true, // required on the dependency project for references to work
8
"module": "esnext",
9
"lib": ["dom", "esnext"],
10
"importHelpers": true,
11
// output .d.ts declaration files for consumers
12
"declaration": true,
13
// output .js.map sourcemap files for consumers
14
"sourceMap": true,
15
// stricter type-checking for stronger correctness. Recommended by TS
16
"strict": true,
17
// linter checks for common issues
18
"noImplicitReturns": true,
19
"noFallthroughCasesInSwitch": true,
20
// noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative
21
"noUnusedLocals": true,
22
"noUnusedParameters": true,
23
// use Node's module resolution algorithm, instead of the legacy TS one
24
"moduleResolution": "node",
25
// transpile JSX to React.createElement
26
"jsx": "react",
27
// interop between ESM and CJS modules. Recommended by TS
28
"esModuleInterop": true,
29
"resolveJsonModule": true,
30
// significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
31
"skipLibCheck": true,
32
// error out if import and file system have a casing mismatch. Recommended by TS
33
"forceConsistentCasingInFileNames": true,
34
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
35
"noEmit": true
36
},
37
"files": ["package.json"]
38
}
39
40