UNPKG

1.68 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "id": "SchematicsAngularUniversalApp",
4 "title": "Angular Universal App Options Schema",
5 "type": "object",
6 "description": "Pass this schematic to the \"run\" command to set up server-side rendering for an app.",
7 "properties": {
8 "clientProject": {
9 "type": "string",
10 "description": "The name of the related client app. Required in place of \"project\"."
11 },
12 "appId": {
13 "type": "string",
14 "format": "html-selector",
15 "description": "The app identifier to use for transition.",
16 "default": "serverApp"
17 },
18 "main": {
19 "type": "string",
20 "format": "path",
21 "description": "The name of the main entry-point file.",
22 "default": "main.server.ts"
23 },
24 "tsconfigFileName": {
25 "type": "string",
26 "default": "tsconfig.server",
27 "description": "The name of the TypeScript configuration file.",
28 "x-deprecated": "This option has no effect."
29 },
30 "appDir": {
31 "type": "string",
32 "format": "path",
33 "description": "The name of the application folder.",
34 "default": "app"
35 },
36 "rootModuleFileName": {
37 "type": "string",
38 "format": "path",
39 "description": "The name of the root NgModule file.",
40 "default": "app.server.module.ts"
41 },
42 "rootModuleClassName": {
43 "type": "string",
44 "description": "The name of the root NgModule class.",
45 "default": "AppServerModule"
46 },
47 "skipInstall": {
48 "description": "When true, does not install packages for dependencies.",
49 "type": "boolean",
50 "default": false
51 }
52 },
53 "required": [
54 "clientProject"
55 ]
56}