{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/bowerrc/latest.json",
  "title": "JSON schema for .bowerrc files",
  "x-lintel": {
    "source": "https://www.schemastore.org/bowerrc.json",
    "sourceSha256": "18bd23252987a9cf34f2085e27d512f8556f686f693c65cd5f6007d3bd1676c1",
    "fileMatch": [
      ".bowerrc"
    ]
  },
  "type": "object",
  "properties": {
    "analytics": {
      "type": "boolean",
      "default": true
    },
    "cwd": {
      "type": "string",
      "description": "The directory from which bower should run. All relative paths will be calculated according to this setting."
    },
    "directory": {
      "type": "string",
      "description": "The directory from which bower should run. All relative paths will be calculated according to this setting.",
      "default": "bower_components"
    },
    "json": {
      "type": "string",
      "description": "A file path to the Bower configuration file",
      "default": "bower.json"
    },
    "registry": {
      "type": [
        "string",
        "object"
      ],
      "description": "The registry config",
      "format": "uri",
      "properties": {
        "search": {
          "type": [
            "array",
            "string"
          ],
          "description": "An array of URLs pointing to read-only Bower registries. A string means only one. When looking into the registry for an endpoint, Bower will query these registries by the specified order.",
          "format": "uri"
        },
        "register": {
          "type": "string",
          "description": "The URL to use when registering packages.",
          "format": "uri"
        },
        "publish": {
          "type": "string",
          "description": "The URL to use when publishing packages.",
          "format": "uri"
        }
      }
    },
    "proxy": {
      "type": "string",
      "description": "The proxy to use for http requests.",
      "format": "uri"
    },
    "https-proxy": {
      "type": "string",
      "description": "The proxy to use for https requests.",
      "format": "uri"
    },
    "user-agent": {
      "type": "string",
      "description": "Sets the User-Agent for each request made."
    },
    "timeout": {
      "type": "number",
      "description": "The timeout to be used when making requests in milliseconds.",
      "default": 60000
    },
    "strict-ssl": {
      "type": "boolean",
      "description": "Whether or not to do SSL key validation when making requests via https."
    },
    "ca": {
      "type": [
        "object",
        "string"
      ],
      "description": "The CA certificates to be used, defaults to null. This is similar to the registry key, specifying each CA to use for each registry endpoint."
    },
    "color": {
      "type": "boolean",
      "description": "Enable or disable use of colors in the CLI output.",
      "default": true
    },
    "storage": {
      "type": "object",
      "description": "Where to store persistent data, such as cache, needed by bower.",
      "properties": {
        "packages": {
          "type": "string"
        },
        "registry": {
          "type": "string"
        },
        "links": {
          "type": "string"
        }
      }
    },
    "tmp": {
      "type": "string",
      "description": "Where to store temporary files and folders"
    },
    "interactive": {
      "type": "boolean",
      "description": "Makes bower interactive, prompting whenever necessary"
    },
    "resolvers": {
      "type": "array",
      "description": "Identifies pluggable resolvers to be used for locating and fetching packages",
      "items": {
        "type": "string"
      }
    },
    "shallowCloneHosts": {
      "type": "array",
      "description": "Whitelists hosts which are known to support shallow cloning",
      "items": {
        "type": "string"
      }
    },
    "scripts": {
      "description": "Contains custom hooks used to trigger other automated tools",
      "type": "object",
      "properties": {
        "preinstall": {
          "type": "string",
          "description": "A script to run before install"
        },
        "postinstall": {
          "type": "string",
          "description": "A script to run after install"
        },
        "preuninstall": {
          "type": "string",
          "description": "A script to run before uninstall"
        }
      }
    },
    "ignoredDependencies": {
      "type": "array",
      "description": "Bower will ignore these dependencies when resolving packages",
      "items": {
        "type": "string"
      }
    }
  },
  "id": "https://json.schemastore.org/bowerrc.json",
  "additionalProperties": true
}
