@nstudio/schematics
Version:
Cross-platform (xplat) tools for Nx workspaces.
38 lines • 1.22 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "elements",
"title": "Create custom elements for the web.",
"type": "object",
"properties": {
"name": {
"description": "The name of the custom element module.",
"type": "string",
"$default": {
"$source": "argv",
"index": 0
}
},
"barrel": {
"description": "The barrel in your workspace that contains the components you'd like to create as custom elements.",
"type": "string"
},
"components": {
"description": "Comma delimited list of components from your barrel to create as custom elements.",
"type": "string"
},
"builderModule": {
"type": "string",
"description": "Update builder files to use a different Angular Element module. Used in isolation with no other options."
},
"prefix": {
"type": "string",
"description": "A unique prefix to add to each custom element. Defaults to workspace selector setting."
},
"skipFormat": {
"description": "Skip formatting files",
"type": "boolean",
"default": false
}
},
"required": []
}