-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
35 lines (35 loc) · 1.05 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
{
"$schema": "https://raw.githubusercontent.com/TypeScriptToLua/vscode-typescript-to-lua/master/tsconfig-schema.json",
"compilerOptions": {
"target": "ES6",
"lib": ["es6"],
"module": "CommonJS",
"rootDir": "src",
"outDir": "dist",
"strict": true,
"sourceMap": true,
"declaration": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"newLine": "LF",
"stripInternal": true,
"baseUrl": "."
},
"tstl": {
// MTASA Lua Language version is 5.1
"luaTarget": "5.1",
// No "self" in global functions
"noImplicitSelf": true,
// Provides debug.traceback function
"sourceMapTraceback": true,
// Lualib should be always included in the resource
"luaLibImport": "always",
// Verbose output
"tstlVerbose": true
},
"include": ["src/**/*"],
"exclude": ["src/tests/**/*"]
}