-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
22 lines (21 loc) · 1.54 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
{
"compilerOptions": {
"target": "es2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "CommonJS", /* Specify what module code is generated. */
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
// "removeComments": true,
// Needs either AMD or System in "module" to generate outFile
// "outFile": "./lib/index.js", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */
"outDir": "./dist", /* Specify an output folder for all emitted files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */
"downlevelIteration": true,
"inlineSourceMap": true,
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["**.ts", "src/**.ts"],
"exclude": ["node_modules", "**/__tests__/*","**/tests/*",
"examples"
]
}