forked from Zamiell/babies-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
41 lines (35 loc) · 1.75 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
// The configuration file for TypeScript.
{
// We specify the schema to get auto-complete and validation.
"$schema": "https://raw.githubusercontent.com/IsaacScript/isaacscript/main/packages/isaacscript-cli/schemas/tsconfig-isaacscript-schema.json",
// We extend the standard IsaacScript config:
// https://github.com/IsaacScript/isaacscript/blob/main/packages/isaacscript-tsconfig/configs/tsconfig.mod.json
"extends": "isaacscript-tsconfig/tsconfig.mod.json",
// A list of the TypeScript files to compile.
"include": ["./src/**/*.ts"],
// TypeScriptToLua settings
"tstl": {
"luaTarget": "5.3",
"luaBundle": "./mod/main.lua", // Will bundle all output Lua files into a single file.
"luaBundleEntry": "./src/bundleEntry.ts",
"luaPlugins": [
// A plugin to add an explanatory comment at the top of the compiled "main.lua" file.
{ "name": "isaacscript/src/plugins/addIsaacScriptCommentHeader.js" },
// A plugin to make enums safe from global variables.
{ "name": "isaacscript/src/plugins/noExtendedEnums.js" },
// Uncomment this and recompile the mod to enable crash debugging, which will tell you the
// exact line of the mod that is causing the crash. For more information, read the comment at
// the top of the file:
// https://github.com/IsaacScript/isaacscript/blob/main/packages/isaacscript-cli/src/plugins/addCrashDebugStatements.ts
// { "name": "isaacscript/src/plugins/addCrashDebugStatements.js" },
],
"noHeader": true,
"noImplicitGlobalVariables": true,
},
// IsaacScript settings
"isaacscript": {
// A list of objects that represent the custom stages that are in your mod, if any. See:
// https://isaacscript.github.io/main/custom-stages
"customStages": [],
},
}