-
Notifications
You must be signed in to change notification settings - Fork 8
/
tsconfig.json
37 lines (37 loc) · 1.07 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
{
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"incremental": true,
"lib": ["dom", "dom.iterable", "esnext"],
"outDir": "./build/public/assets/",
"skipLibCheck": true,
"strict": true,
"sourceMap": true,
"module": "esnext",
"target": "es6",
"jsx": "react",
"allowJs": true,
"moduleResolution": "node",
"paths": {
"react": ["./node_modules/preact/compat/"],
"react-dom": ["./node_modules/preact/compat/"]
},
"resolveJsonModule": true,
"strictPropertyInitialization": false,
"typeRoots": ["./typings", "node_modules/@types"]
},
"files": ["./global.d.ts"],
"include": ["./**/*.ts", "./**/*.tsx", "./*.d.ts"],
"exclude": ["node_modules"],
"ts-node": {
"files": true,
"transpileOnly": true, // you can specify ts-node options here
"compilerOptions": {
"module": "commonjs" // you can also override compilerOptions. Only ts-node will use these overrides
}
}
}