-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathschema.json
More file actions
79 lines (79 loc) · 1.86 KB
/
schema.json
File metadata and controls
79 lines (79 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsIonicAngularPage",
"title": "@ionic/angular Page Options Schema",
"type": "object",
"properties": {
"path": {
"type": "string",
"format": "path",
"description": "The path to create the page",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project",
"$default": {
"$source": "projectName"
}
},
"name": {
"type": "string",
"description": "The name of the page",
"$default": {
"$source": "argv",
"index": 0
}
},
"prefix": {
"type": "string",
"description": "The prefix to apply to generated selectors",
"alias": "p",
"oneOf": [
{
"maxLength": 0
},
{
"minLength": 1,
"format": "html-selector"
}
]
},
"styleext": {
"type": "string",
"description": "The file extension of the style file for the page",
"default": "css"
},
"spec": {
"type": "boolean",
"description": "Specifies if a spec file is generated",
"default": true
},
"flat": {
"type": "boolean",
"description": "Flag to indicate if a dir is created",
"default": false
},
"selector": {
"type": "string",
"format": "html-selector",
"description": "The selector to use for the page"
},
"createModule": {
"type": "boolean",
"description": "Allows creating an NgModule for the page",
"default": true
},
"module": {
"type": "string",
"description": "Allows specification of the declaring module",
"alias": "m"
},
"routePath": {
"type": "string",
"description": "The path to use for the route of the page",
"default": ""
}
},
"required": []
}