@ionic/angular-toolkit
Version:
Schematics for @ionic/angular apps.
83 lines (82 loc) • 1.97 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "SchematicsIonicAngularPage",
"title": "@ionic/angular Page Options Schema",
"type": "object",
"properties": {
"path": {
"type": "string",
"format": "path",
"description": "The path to create the page",
"visible": false,
"$default": {
"$source": "workingDirectory"
}
},
"project": {
"type": "string",
"description": "The name of the project",
"$default": {
"$source": "projectName"
}
},
"name": {
"type": "string",
"description": "The name of the page",
"$default": {
"$source": "argv",
"index": 0
}
},
"prefix": {
"type": "string",
"description": "The prefix to apply to generated selectors",
"alias": "p",
"oneOf": [
{
"maxLength": 0
},
{
"minLength": 1,
"format": "html-selector"
}
]
},
"styleext": {
"type": "string",
"description": "The file extension of the style file for the page",
"default": "css"
},
"spec": {
"type": "boolean",
"description": "Specifies if a spec file is generated",
"default": true
},
"flat": {
"type": "boolean",
"description": "Flag to indicate if a dir is created",
"default": false
},
"selector": {
"type": "string",
"format": "html-selector",
"description": "The selector to use for the page"
},
"module": {
"type": "string",
"description": "Allows specification of the declaring module",
"alias": "m"
},
"routePath": {
"type": "string",
"description": "The path to use for the route of the page",
"default": ""
},
"standalone": {
"type": "boolean",
"description": "Specifies if the page should be standalone",
"default": false
}
},
"required": []
}