-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
42 lines (42 loc) · 1.31 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
{
"$schema": "https://raw.githubusercontent.com/TypeScriptToLua/TypeScriptToLua/master/tsconfig-schema.json",
"compilerOptions": {
"target": "esnext",
"lib": ["esnext"],
"moduleResolution":"Node",
//"types": [],
"types": ["lua-types/jit"],
"module": "CommonJS",
"noImplicitAny": true,
"noImplicitThis": true,
"alwaysStrict": true,
"strictNullChecks": true,
"rootDir": ".",
//"outDir": "lua",
"outDir": "f:/Games/AnomalyMW/gamedata/scripts",
// Needed to hide internal functions from the auto-complete of end-users.
"stripInternal": true,
// We need to read the version of the library from the "package.json" file.
"resolveJsonModule": true
},
"tstl": {
//"buildMode":"default",
"luaTarget": "JIT",
//"extension": "script",
"luaLibImport":"require",
"noHeader": true,
"noImplicitSelf": true,
"noImplicitGlobalVariables": true,
"luaBundle": "monsterworld.lua",
"luaBundleEntry": "MonsterWorldMod/MonsterWorldMod.ts",
"luaPlugins": [
// {
// "name": "@ts-defold/tstl-export-as-global",
// "match": "monsterworld.ts$",
// "globals": {
// "functions": [ "on_game_start"]
// }
// }
]
}
}