-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
51 lines (49 loc) · 1.42 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
46
47
48
49
50
51
{
"$schema": "https://raw.githubusercontent.com/TypeScriptToLua/TypeScriptToLua/master/tsconfig-schema.json",
"compilerOptions": {
"target": "es2019",
"lib": ["es2019"],
"module": "commonjs",
"esModuleInterop": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"types": ["types", "language-extensions"],
"typeRoots": [
"./@types",
"./node_modules/@types",
"./node_modules/@typescript-to-lua",
"./node_modules/@ts-defold"
],
"rootDir": "src",
"outDir": "app",
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"sourceMap": true,
"plugins": [{ "name": "typescript-tstl-plugin" }]
},
"exclude": [
"./node_modules/*",
"./plugins/*"
],
"tstl": {
"luaTarget": "5.1",
"luaLibImport": "require",
"sourceMapTraceback": true,
"luaPlugins": [
{
"name": "@ts-defold/tstl-export-as-global",
"match": ".*\\..*script.ts$",
"globals": {
"functions": [ "init", "on_input", "on_message", "on_reload", "update", "fixed_update", "final"]
}
},
{
"name": "@ts-defold/tstl-userdata-sugar"
},
{
"name": "tstl-trim-extensions"
}
]
}
}