mirror of
https://github.com/araxiaonline/wow-eluna-ts-module.git
synced 2026-06-13 02:42:22 -04:00
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/TypeScriptToLua/TypeScriptToLua/master/tsconfig-schema.json",
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"target": "esnext",
|
|
"declaration": true,
|
|
"declarationDir": "./common/src/declarations",
|
|
"lib": [
|
|
"esnext","DOM"
|
|
],
|
|
"moduleResolution": "node",
|
|
"types": [
|
|
"lua-types/5.2",
|
|
"@typescript-to-lua/language-extensions"
|
|
],
|
|
"typeRoots": [
|
|
"./node_modules/@types",
|
|
"./node_modules",
|
|
"../../node_modules" // This is for reference when package is installed as a dependency
|
|
],
|
|
"rootDir": "common/src"
|
|
},
|
|
"include": [
|
|
"common/src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"common/src/declarations",
|
|
"node_modules",
|
|
"**/node_modules",
|
|
"**/__tests__",
|
|
],
|
|
"tstl": {
|
|
"luaTarget": "5.2",
|
|
"noHeader": true,
|
|
"luaLibImport": "require",
|
|
"tstlVerbose": true,
|
|
"luaBundle": "./dist/common/libs.lua",
|
|
"luaBundleEntry": "./common/src/index.ts"
|
|
}
|
|
}
|