@schematics/angular
Version:
Schematics specific to Angular
67 lines (66 loc) • 1.96 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsAngularUniversalApp",
"title": "Angular Universal App Options Schema",
"type": "object",
"description": "Pass this schematic to the \"run\" command to set up server-side rendering for an app.",
"properties": {
"clientProject": {
"type": "string",
"description": "The name of the related client app. Required in place of \"project\"."
},
"appId": {
"type": "string",
"format": "html-selector",
"description": "The app identifier to use for transition.",
"default": "serverApp"
},
"main": {
"type": "string",
"format": "path",
"description": "The name of the main entry-point file.",
"default": "main.server.ts"
},
"test": {
"type": "string",
"format": "path",
"description": "The name of the test entry-point file."
},
"tsconfigFileName": {
"type": "string",
"default": "tsconfig.server",
"description": "The name of the TypeScript configuration file."
},
"testTsconfigFileName": {
"type": "string",
"format": "path",
"description": "The name of the TypeScript configuration file for tests.",
"default": "tsconfig.spec"
},
"appDir": {
"type": "string",
"format": "path",
"description": "The name of the application folder.",
"default": "app"
},
"rootModuleFileName": {
"type": "string",
"format": "path",
"description": "The name of the root NgModule file.",
"default": "app.server.module.ts"
},
"rootModuleClassName": {
"type": "string",
"description": "The name of the root NgModule class.",
"default": "AppServerModule"
},
"skipInstall": {
"description": "When true, does not install packages for dependencies.",
"type": "boolean",
"default": false
}
},
"required": [
"clientProject"
]
}