@ngm-dev/cli
Version:
A CLI for ui.angular-material.dev
54 lines (53 loc) • 1.39 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"repos": {
"description": "Repositories to download code from.",
"type": "array",
"items": {
"type": "string"
}
},
"includeTests": {
"description": "When true includes the test files for each block in the same directory.",
"type": "boolean",
"default": "true"
},
"watermark": {
"description": "When true will add a watermark with the version and repository at the top of the installed files.",
"type": "boolean",
"default": "true"
},
"formatter": {
"description": "The formatter to use when adding or updating files.",
"type": "string",
"enum": ["prettier"]
},
"configFiles": {
"description": "Config file names mapped to their respective path.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"paths": {
"description": "Paths used to map categories to a directory. TypeScript path aliases are allowed, any relative paths must start with `./`",
"type": "object",
"required": ["*"],
"properties": {
"*": {
"type": "string",
"description": "The default path for blocks to be installed in your project."
}
},
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
}
}
},
"required": ["paths", "includeTests"]
}