/*
 *------
 * BGA framework: Gregory Isabelli & Emmanuel Colin & BoardGameArena
 * ___YourGameName___ implementation : © ___developers___
 *
 * This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
 * See http://en.boardgamearena.com/#!doc/Studio for more information.
 * -----
 */
{
	"files": [
		"___yourgamename___.ts",
		"___yourgamename___.d.ts",
		// Ideally, all other files needed should be included through imports/ref tags in the above files.
		// If you have other files that are not imported, you can include them here.
		// Manually add any node_modules *.ts here. All other imports should be included automatically.
		// "../___source-to-template___/typescript/cookbook/common.ts",
	],
	"include": [
		"build/**/*.ts",
	],
	"compilerOptions": {
		/* NEVER CHANGE THESE */
		"target": "es5", // This is the framework's version
		"module": "AMD", // This is what allows for imports and automatically creates the define function.

		/* Recommended, should not need to change. */
		"moduleResolution": "node10",
		"lib": [ "dom", "esnext" ],
		"types": [ "bga-ts-template" ], // Includes all non-module types which are on HTML script tags.

		"paths": {
			// Required: Allows modules to resolve correctly.
			"*": [ "/*", "../___source-to-template___/typescript/types/*" ],
			// Optional: Include cookbook modules when auto-completing modules. This are only included if imported in your code.
			"cookbook/*": [ "../___source-to-template___/typescript/cookbook/*" ]
		},
		
		/* Preference. This defaults to the most strict ts rules. */
		"strict": true,
		"noImplicitOverride": true, // Recommended! This will prevent you from accidentally overriding any of the framework's functions.
		"exactOptionalPropertyTypes": true,
		"noImplicitReturns": true,
		"noPropertyAccessFromIndexSignature": true,
		"noFallthroughCasesInSwitch": true,
		"noUncheckedIndexedAccess": true,

		"removeComments": true, // Comments are always removed from JS in production, so you don't need to remove them when compiling.
		"sourceMap": false,
		"allowJs": true,
	},
}