-
Notifications
You must be signed in to change notification settings - Fork 78
/
tsconfig.json
35 lines (35 loc) · 973 Bytes
/
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
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"lib": [
"dom",
"es2015",
"es2017",
"es2015.iterable",
],
"jsx": "react", // uses typescript to transpile jsx to js
"target": "es5", // specify ECMAScript target version
"allowJs": true, // allows a partial TypeScript and JavaScript codebase
"declaration": true,
"checkJs": false, // checks types in .js files (https://github.com/microsoft/TypeScript/wiki/Type-Checking-JavaScript-Files)
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"outDir": "dist",
"downlevelIteration": true,
"noEmit": false,
"noImplicitAny": false,
"esModuleInterop": true,
"sourceMap": true,
},
"include": [
"index.ts",
"./lib",
"./@types/canvaskit/index.d.ts",
],
"exclude": [
"dist/**/*",
"./test"
]
}