@schematics/angular
Version:
Schematics specific to Angular
105 lines (104 loc) • 2.9 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsAngularAppShell",
"title": "Angular AppShell Options Schema",
"type": "object",
"description": "Generates an app shell for running a server-side version of an app.",
"long-description": "./app-shell-long.md",
"properties": {
"clientProject": {
"type": "string",
"description": "The name of the related client app."
},
"universalProject": {
"type": "string",
"description": "The name of related Universal app."
},
"route": {
"type": "string",
"description": "Route path used to produce the app shell.",
"default": "shell"
},
"name": {
"type": "string",
"format": "html-selector",
"description": "The HTML selector of the Universal app"
},
"appId": {
"type": "string",
"format": "html-selector",
"description": "The app ID to use in withServerTransition().",
"default": "serverApp"
},
"outDir": {
"type": "string",
"format": "path",
"description": "The output directory for build results.",
"default": "dist-server"
},
"root": {
"type": "string",
"format": "path",
"description": "The root directory of the app.",
"default": "src"
},
"index": {
"type": "string",
"format": "path",
"description": "The name of the index file",
"default": "index.html"
},
"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",
"format": "path",
"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 directory.",
"default": "app"
},
"rootModuleFileName": {
"type": "string",
"format": "path",
"description": "The name of the root module file",
"default": "app.server.module.ts"
},
"rootModuleClassName": {
"type": "string",
"format": "html-selector",
"description": "The name of the root module class.",
"default": "AppServerModule"
},
"sourceDir": {
"type": "string",
"format": "path",
"description": "The path of the source directory.",
"default": "src",
"alias": "D"
}
},
"required": [
"clientProject",
"universalProject"
]
}