-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtsconfig.json
45 lines (45 loc) · 1.3 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
{
"$schema": "https://raw.githubusercontent.com/TypeScriptToLua/TypeScriptToLua/master/tsconfig-schema.json",
"compilerOptions": {
"target": "esnext",
"moduleResolution": "node",
"module": "CommonJS",
"types": [
"typed-factorio/runtime", "factorio-test", "gb-tstl-utils"
],
"lib": ["esnext"],
"skipDefaultLibCheck": true,
"strict": true,
"experimentalDecorators": true,
"rootDir": "src",
"outDir": "src",
"resolveJsonModule": true,
"jsx": "react",
"jsxFactory": "FactorioJsx.createElement",
"jsxFragmentFactory": "FactorioJsx.Fragment",
"forceConsistentCasingInFileNames": true,
"noImplicitThis": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"noEmitOnError": true
},
"tstl": {
"luaTarget": "5.2",
"noResolvePaths": ["__factorio-test__/init", "__debugadapter__/debugadapter.lua"],
"noImplicitSelf": true,
"sourceMapTraceback": true,
"luaPlugins": [
{
"name": "./tstlPlugin/plugin.cjs",
"hasTests": true
}, {
"name": "gb-tstl-utils/plugin",
"simplifyDelete": true,
"warnUseNil": true,
"warnUseDoubleEquals": true
}
]
},
"include": ["src/**/*.ts", "src/**/*.tsx", "tstlPlugin/*.d.ts"],
"exclude": ["**/node_modules/"]
}