{
  "title": "Cordova serve for Ionic",
  "description": "Options for Cordova serve for Ionic.",
  "type": "object",
  "properties": {
    "cordovaBuildTarget": {
      "type": "string",
      "description": "Target to use for build."
    },
    "consolelogs": {
      "type": "boolean",
      "description": "Print console logs to the terminal."
    },
    "consolelogsPort": {
      "type": "number",
      "description": "Port for console log server.",
      "default": 53703
    },
    "devServerTarget": {
      "type": "string",
      "description": "Target to use for serve."
    },
    "platform": {
      "type": "string",
      "description": "Cordova platform to use during serve."
    },
    "ssl": {
      "type": "boolean",
      "description": "Serve using HTTPS.",
      "default": false
    },
    "port": {
      "type": "number",
      "description": "Port to listen on.",
      "default": 4200
    },
    "host": {
      "type": "string",
      "description": "Host to listen on.",
      "default": "localhost"
    },
    "cordovaBasePath": {
      "type": "string",
      "description": "Path to cordova directory"
    },
    "sourceMap": {
      "type": "boolean",
      "description": "Create source-map file"
    },
    "cordovaAssets": {
      "type": "boolean",
      "description": "Bundle Cordova assets with build",
      "default": true
    },
    "cordovaMock": {
      "type": "boolean",
      "description": "Bundle empty cordova.js with build",
      "default": false
    }
  },
  "additionalProperties": false,
  "required": ["cordovaBuildTarget", "devServerTarget"]
}
