@angular/material
Version:
Angular Material
52 lines (49 loc) • 1.85 kB
JSON
// This is the root config file where the schematics are defined.
{
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
// Adds Angular Material to an application without changing any templates
"ng-add": {
"description": "Adds Angular Material to the application without affecting any templates",
"factory": "./shell",
"schema": "./shell/schema.json",
"aliases": ["material-shell"]
},
// Group of schematics used to update Angular CDK and Angular Material.
"ng-update": {
"description": "Updates API usage for the most recent major version of Angular CDK and Angular Material",
"factory": "./update/update"
},
"ng-post-update": {
"description": "Performs cleanup after ng-update.",
"factory": "./update/update#postUpdate",
"private": true
},
"ng-post-post-update": {
"description": "Logs completion message for ng-update after ng-post-update.",
"factory": "./update/update#postPostUpdate",
"private": true
},
// Create a dashboard component
"materialDashboard": {
"description": "Create a card-based dashboard component",
"factory": "./dashboard/index",
"schema": "./dashboard/schema.json",
"aliases": [ "material-dashboard" ]
},
// Creates a table component
"materialTable": {
"description": "Create a component that displays data with a data-table",
"factory": "./table/index",
"schema": "./table/schema.json",
"aliases": [ "material-table" ]
},
// Creates toolbar and navigation components
"materialNav": {
"description": "Create a component with a responsive sidenav for navigation",
"factory": "./nav/index",
"schema": "./nav/schema.json",
"aliases": [ "material-nav" ]
}
}
}