{
	"$schema": "http://json-schema.org/schema",
	"type": "object",
	"cli": "nx",
	"description": "Run a script",
	"additionalProperties": false,
	"properties": {
		"silent": {
			"type": "boolean",
			"description": "Whether to suppress all logs",
			"aliases": ["s"]
		},
		"verbose": {
			"type": "boolean",
			"description": "Whether to run the command with verbose logging",
			"aliases": ["v"]
		},
		"flavor": {
			"type": "string",
			"description": "The flavor to run from the flavors object"
		},
		"flavors": {
			"type": "object",
			"description": "The different flavors to deploy, keyed by the flavor name and value is the firebase project id"
		},
		"envFiles": {
			"type": "object",
			"description": "The different env files to use, keyed by the flavor name and value is the env file path"
		},
		"production": {
			"type": "boolean",
			"description": "Whether to deploy the production flavor",
			"aliases": ["prod"]
		},
		"development": {
			"type": "boolean",
			"description": "Whether to deploy the development flavor",
			"aliases": ["dev"]
		},
		"scriptsRoot": {
			"type": "string",
			"description": "The scripts root"
		},
		"packageManager": {
			"type": "string",
			"enum": ["pnpm", "npm", "yarn", "global"],
			"description": "The package manager to use for deploying with firebase-tools",
			"aliases": ["pm"]
		},
		"tsconfig": {
			"type": "string",
			"description": "The tsconfig file to use for the build",
			"aliases": ["tsconfig"]
		},
		"runPrevious": {
			"type": "boolean",
			"description": "Rerun the last executed script",
			"aliases": ["p"]
		},
		"script": {
			"type": "string",
			"description": "The script to run",
			"aliases": ["file"]
		},
		"scriptConfigPath": {
			"type": ["string", "boolean"],
			"description": "Default script-config.{flavor}.ts",
			"aliases": ["configPath"]
		},
		"extraEnvs": {
			"type": "string",
			"description": "Extra envs to pass to the script",
			"aliases": ["envs"]
		}
	},
	"required": ["flavors"]
}
