UNPKG

1.5 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsExpressEngineInstall",
4 "title": "Express Engine Install Options Schema",
5 "type": "object",
6 "properties": {
7 "project": {
8 "type": "string",
9 "description": "The name of the project.",
10 "$default": {
11 "$source": "projectName"
12 }
13 },
14 "appId": {
15 "type": "string",
16 "format": "html-selector",
17 "description": "The appId to use withServerTransition.",
18 "default": "serverApp"
19 },
20 "main": {
21 "type": "string",
22 "format": "path",
23 "description": "The name of the main entry-point file.",
24 "default": "main.server.ts"
25 },
26 "serverFileName": {
27 "type": "string",
28 "default": "server.ts",
29 "description": "The name of the Express server file."
30 },
31 "serverPort": {
32 "type": "number",
33 "default": 4000,
34 "description": "The port for the Express server."
35 },
36 "rootModuleFileName": {
37 "type": "string",
38 "format": "path",
39 "description": "The name of the root module file",
40 "default": "app.server.module.ts"
41 },
42 "rootModuleClassName": {
43 "type": "string",
44 "description": "The name of the root module class.",
45 "default": "AppServerModule"
46 },
47 "skipInstall": {
48 "description": "Skip installing dependency packages.",
49 "type": "boolean",
50 "default": false
51 }
52 },
53 "required": ["project"],
54 "additionalProperties": false
55}