feat: add UnLua TS spec, TSTL compiler plugin, types, examples, and tests
This commit is contained in:
1 parent
68852d049c
commit
c0ac6eaad6
19 files changed
+3273
-1
No files matched your search
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/TypeScriptToLua/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"compilerOptions": {
|
||||
"target": "ESNext",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"lib": ["ESNext"],
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"skipLibCheck": true,
|
||||
"experimentalDecorators": true,
|
||||
"types": ["@typescript-to-lua/language-extensions", "lua-types/5.4"]
|
||||
},
|
||||
"tstl": {
|
||||
"luaTarget": "5.4",
|
||||
"luaLibImport": "require-minimal",
|
||||
"noImplicitSelf": false,
|
||||
"noHeader": true,
|
||||
"sourceMapTraceback": false,
|
||||
"luaPlugins": [
|
||||
{
|
||||
"name": "./dist/plugin/index.js"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user