1 | {
|
2 | "$schema": "http://json-schema.org/schema",
|
3 | "id": "SchematicsAngularAppShell",
|
4 | "title": "Angular AppShell Options Schema",
|
5 | "type": "object",
|
6 | "description": "Generates an app shell for running a server-side version of an app.",
|
7 | "long-description": "./app-shell-long.md",
|
8 | "properties": {
|
9 | "clientProject": {
|
10 | "type": "string",
|
11 | "description": "The name of the related client app.",
|
12 | "$default": {
|
13 | "$source": "projectName"
|
14 | }
|
15 | },
|
16 | "universalProject": {
|
17 | "type": "string",
|
18 | "description": "The name of related Universal app.",
|
19 | "x-deprecated": "This option has no effect."
|
20 | },
|
21 | "route": {
|
22 | "type": "string",
|
23 | "description": "Route path used to produce the app shell.",
|
24 | "default": "shell"
|
25 | },
|
26 | "name": {
|
27 | "type": "string",
|
28 | "format": "html-selector",
|
29 | "description": "The HTML selector of the Universal app",
|
30 | "x-deprecated": "This option has no effect."
|
31 | },
|
32 | "appId": {
|
33 | "type": "string",
|
34 | "format": "html-selector",
|
35 | "description": "The app ID to use in withServerTransition().",
|
36 | "default": "serverApp"
|
37 | },
|
38 | "outDir": {
|
39 | "type": "string",
|
40 | "format": "path",
|
41 | "description": "The output directory for build results.",
|
42 | "default": "dist-server",
|
43 | "x-deprecated": "This option has no effect."
|
44 | },
|
45 | "root": {
|
46 | "type": "string",
|
47 | "format": "path",
|
48 | "description": "The root directory of the app.",
|
49 | "default": "src",
|
50 | "x-deprecated": "This option has no effect."
|
51 | },
|
52 | "index": {
|
53 | "type": "string",
|
54 | "format": "path",
|
55 | "description": "The name of the index file",
|
56 | "default": "index.html",
|
57 | "x-deprecated": "This option has no effect."
|
58 | },
|
59 | "main": {
|
60 | "type": "string",
|
61 | "format": "path",
|
62 | "description": "The name of the main entry-point file.",
|
63 | "default": "main.server.ts"
|
64 | },
|
65 | "test": {
|
66 | "type": "string",
|
67 | "format": "path",
|
68 | "description": "The name of the test entry-point file.",
|
69 | "x-deprecated": "This option has no effect."
|
70 | },
|
71 | "tsconfigFileName": {
|
72 | "type": "string",
|
73 | "format": "path",
|
74 | "default": "tsconfig.server",
|
75 | "description": "The name of the TypeScript configuration file."
|
76 | },
|
77 | "testTsconfigFileName": {
|
78 | "type": "string",
|
79 | "format": "path",
|
80 | "description": "The name of the TypeScript configuration file for tests.",
|
81 | "default": "tsconfig.spec",
|
82 | "x-deprecated": "This option has no effect."
|
83 | },
|
84 | "appDir": {
|
85 | "type": "string",
|
86 | "format": "path",
|
87 | "description": "The name of the application directory.",
|
88 | "default": "app"
|
89 | },
|
90 | "rootModuleFileName": {
|
91 | "type": "string",
|
92 | "format": "path",
|
93 | "description": "The name of the root module file",
|
94 | "default": "app.server.module.ts"
|
95 | },
|
96 | "rootModuleClassName": {
|
97 | "type": "string",
|
98 | "format": "html-selector",
|
99 | "description": "The name of the root module class.",
|
100 | "default": "AppServerModule"
|
101 | },
|
102 | "sourceDir": {
|
103 | "type": "string",
|
104 | "format": "path",
|
105 | "description": "The path of the source directory.",
|
106 | "default": "src",
|
107 | "alias": "D",
|
108 | "x-deprecated": "This option has no effect."
|
109 | }
|
110 | },
|
111 | "required": [
|
112 | "clientProject"
|
113 | ]
|
114 | }
|