UNPKG

@o3r/components

Version:

This module contains component-related features (Component replacement, CMS compatibility, helpers, pipes, debugging developer tools...) It comes with an integrated ng builder to help you generate components compatible with Otter features (CMS integration

90 lines (89 loc) 2.59 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "type": "object", "$id": "ComponentExtractorBuilderSchema", "title": "Component extractor builder", "description": "Component extractor builder options", "properties": { "tsConfig": { "type": "string", "description": "Typescript configuration file to build the application", "default": "tsconfig.json" }, "libraries": { "type": "array", "description": "List of libraries imported", "items": { "type": "string" }, "default": [] }, "name": { "type": "string", "description": "Library/Application name to be assigned into metadata" }, "filePattern": { "type": "string", "description": "Path pattern to watch for component files", "default": "src/**/*.(component|config|module).ts" }, "componentOutputFile": { "type": "string", "description": "Path to the component data output file", "default": "component.class.metadata.json" }, "configOutputFile": { "type": "string", "description": "Path to the configuration data file", "default": "component.config.metadata.json" }, "watch": { "type": "boolean", "description": "Enable watch mode", "default": false }, "inline": { "type": "boolean", "description": "Write metadata inline", "default": false }, "strictMode": { "type": "boolean", "description": "If activated, this option will fail when any property not supported by the CMS is found, it will be ignored if not activated", "default": false }, "exposedComponentSupport": { "type": "boolean", "description": "Includes components flagged as ExposedComponent coming from a library", "default": false }, "placeholdersMetadataFilePath" : { "type": "string", "description": "Path to the placeholders data file", "default": "placeholders.metadata.json" }, "globalConfigCategories": { "type": "array", "description": "List of categories with description", "items": { "type": "object", "required": [ "name", "label" ], "properties": { "name": { "type": "string", "description": "Configuration category name" }, "label": { "type": "string", "description": "Configuration category description" } } } } }, "additionalProperties": false, "required": [] }