options.json 1.34 KB
{
  "type": "object",
  "properties": {
    "test": {},
    "include": {},
    "exclude": {},
    "cache": {
      "oneOf": [
        { "type": "boolean" },
        { "type": "string" }
      ]
    },
    "parallel": {
      "oneOf": [
        { "type": "boolean" },
        { "type": "integer" }
      ]
    },
    "warningsFilter": {},
    "extractComments": {},
    "sourceMap": {
      "type": "boolean"
    },
    "uglifyOptions": {
      "additionalProperties": true,
      "type": "object",
      "properties": {
        "ecma": {
          "type": "integer",
          "minimum": 5,
          "maximum": 8
        },
        "warnings": {
          "type": ["boolean", "string"],
          "enum": [true, false, "verbose"]
        },
        "ie8": {
          "type": "boolean"
        },
        "parse": {
          "type": "object"
        },
        "compress": {
          "type": ["boolean", "object"]
        },
        "mangle": {
          "type": ["boolean", "object"],
          "properties": {
            "properties": {
              "type": ["boolean", "object"]
            }
          }
        },
        "output": {
          "type": ["object", "null"]
        },
        "toplevel": {
          "type": "boolean"
        },
        "nameCache": {
          "type": ["object", "null"]
        }
      }
    }
  },
  "additionalProperties": false
}