-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
45 lines (44 loc) · 1.19 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
45
{
// "compilerOptions": {
// "target": "es6",
// "noImplicitAny": true,
// "removeComments": true,
// "preserveConstEnums": true,
// "esModuleInterop": true,
// "moduleResolution": "node",
// "outDir": "./lib",
// "sourceMap": true
// },
"compilerOptions": {
// seems to be mirrorred in webpack, possibly not needed
// at all
"outDir": "./_dist/",
// dissallow var: any
// "noImplicitAny": true,
// include the ts->js source map
"sourceMap": true,
// "emitDeclarationOnly": false,
// "declaration": true,
//
// this is needed for react default imports to work:
"allowSyntheticDefaultImports": true,
// needed for jsx compilation
"jsx": "react-jsx",
// "jsx": "react",
// other functions:
"module": "es6",
// "module": "CommonJS",
"target": "es5",
"allowJs": true,
"moduleResolution": "node",
},
// "paths": ["./src/index.ts"],
"include": [
"./src/**/*",
"repl.ts"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}