{
	"$schema": "http://json-schema.org/schema",
	"type": "object",
	"cli": "nx",
	"description": "A simple build executor for esbuild a function",
	"additionalProperties": false,
	"properties": {
		"clear": {
			"type": "boolean",
			"description": "Clear the output directory",
			"aliases": ["c"]
		},
		"inputPath": {
			"type": "string",
			"description": "The path to the entry file. Default: 'src/index.ts'",
			"aliases": ["i"]
		},
		"outputRoot": {
			"type": "string",
			"description": "The path to the output directory. Default: 'dist'",
			"aliases": ["o"]
		},
		"external": {
			"type": "array",
			"description": "The external dependencies",
			"aliases": ["e"]
		},
		"nodeVersion": {
			"type": "string",
			"description": "The node version to use for the functions",
			"aliases": ["node"]
		},
		"createPackageJson": {
			"type": "boolean",
			"description": "Create a package.json file in the output directory.",
			"aliases": ["p"]
		},
		"tsconfig": {
			"type": "string",
			"description": "The tsconfig file to use for the build",
			"aliases": ["tsconfig"]
		},
		"validate": {
			"type": "boolean",
			"description": "Will run tsc -noEmits in project root to validate the build",
			"aliases": ["valid"]
		},
		"packageManager": {
			"type": "string",
			"enum": ["pnpm", "npm", "yarn", "global"],
			"description": "The package manager to use for deploying with firebase-tools",
			"aliases": ["pm"]
		},
		"verbose": {
			"type": "boolean",
			"description": "Whether to run the command with verbose logging",
			"aliases": ["v"]
		},
		"silent": {
			"type": "boolean",
			"description": "Whether to suppress all logs",
			"aliases": ["s"]
		},
		"sourcemap": {
			"type": "boolean",
			"description": "Whether to generate sourcemaps",
			"default": true
		},
		"requireFix": {
			"type": "boolean",
			"description": "Add require at the top of the file",
			"default": true
		},
		"__dirnameFix": {
			"type": "boolean",
			"description": "Add __dirname at the top of the file",
			"default": true
		},
		"__filenameFix": {
			"type": "boolean",
			"description": "Add __filename at the top of the file",
			"default": true
		},
		"extension": {
			"type": "string",
			"enum": ["js", "mjs", "cjs"],
			"description": "The extension to use for the output files",
			"default": "js"
		},
		"minify": {
			"type": "boolean",
			"description": "Whether to minify the output",
			"default": true
		},
		"useWorkspaceRoot": {
			"type": "boolean",
			"description": "Whether to use the workspace root for the paths.",
			"default": false
		}
	},
	"required": []
}
