libs/stencil-toolkit/src/lib/builders/build/schema.json
{
"title": "stencil build",
"type": "object",
"properties": {
"outputPath": {
"type": "string"
},
"config": {
"type": "string"
},
"docs": {
"type": "boolean"
},
"stats": {
"type": "boolean"
},
"assets": {
"type": "array",
"description": "List of static application assets.",
"default": [],
"items": {
"$ref": "#/definitions/assetPattern"
}
}
},
"additionalProperties": false,
"required": ["config", "outputPath"],
"definitions": {
"assetPattern": {
"oneOf": [
{
"type": "object",
"properties": {
"glob": {
"type": "string",
"description": "The pattern to match."
},
"input": {
"type": "string",
"description": "The input directory path in which to apply 'glob'. Defaults to the project root."
},
"ignore": {
"description": "An array of globs to ignore.",
"type": "array",
"items": {
"type": "string"
}
},
"output": {
"type": "string",
"description": "Absolute path within the output."
}
},
"additionalProperties": false,
"required": ["glob", "input", "output"]
}
]
}
}
}