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 | "route": {
|
17 | "type": "string",
|
18 | "description": "Route path used to produce the app shell.",
|
19 | "default": "shell"
|
20 | },
|
21 | "appId": {
|
22 | "type": "string",
|
23 | "format": "html-selector",
|
24 | "description": "The app ID to use in withServerTransition().",
|
25 | "default": "serverApp"
|
26 | },
|
27 | "main": {
|
28 | "type": "string",
|
29 | "format": "path",
|
30 | "description": "The name of the main entry-point file.",
|
31 | "default": "main.server.ts"
|
32 | },
|
33 | "appDir": {
|
34 | "type": "string",
|
35 | "format": "path",
|
36 | "description": "The name of the application directory.",
|
37 | "default": "app"
|
38 | },
|
39 | "rootModuleFileName": {
|
40 | "type": "string",
|
41 | "format": "path",
|
42 | "description": "The name of the root module file",
|
43 | "default": "app.server.module.ts"
|
44 | },
|
45 | "rootModuleClassName": {
|
46 | "type": "string",
|
47 | "format": "html-selector",
|
48 | "description": "The name of the root module class.",
|
49 | "default": "AppServerModule"
|
50 | },
|
51 | "tsconfigFileName": {
|
52 | "type": "string",
|
53 | "default": "tsconfig.server",
|
54 | "description": "The name of the TypeScript configuration file."
|
55 | }
|
56 | },
|
57 | "required": [
|
58 | "clientProject"
|
59 | ]
|
60 | }
|