|
58 | 58 | "type": "string"
|
59 | 59 | }
|
60 | 60 | },
|
61 |
| - "required": [ |
62 |
| - "name", |
63 |
| - "email" |
64 |
| - ] |
| 61 | + "required": ["name", "email"] |
65 | 62 | }
|
66 | 63 | ],
|
67 | 64 | "default": true
|
|
102 | 99 | "routing": {
|
103 | 100 | "type": "boolean",
|
104 | 101 | "description": "When true, generates a routing module for the initial project.",
|
105 |
| - "default": false, |
106 |
| - "x-prompt": "Would you like to add Angular routing?", |
107 | 102 | "x-user-analytics": 17
|
108 | 103 | },
|
109 | 104 | "prefix": {
|
|
118 | 113 | "description": "The file extension or preprocessor to use for style files.",
|
119 | 114 | "type": "string",
|
120 | 115 | "default": "css",
|
121 |
| - "enum": [ |
122 |
| - "css", |
123 |
| - "scss", |
124 |
| - "sass", |
125 |
| - "less", |
126 |
| - "styl" |
127 |
| - ], |
| 116 | + "enum": ["css", "scss", "sass", "less", "styl"], |
128 | 117 | "x-prompt": {
|
129 | 118 | "message": "Which stylesheet format would you like to use?",
|
130 | 119 | "type": "list",
|
131 | 120 | "items": [
|
132 |
| - { "value": "css", "label": "CSS" }, |
133 |
| - { "value": "scss", "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]" }, |
134 |
| - { "value": "sass", "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]" }, |
135 |
| - { "value": "less", "label": "Less [ http://lesscss.org ]" }, |
136 |
| - { "value": "styl", "label": "Stylus [ http://stylus-lang.com ]" } |
| 121 | + { "value": "css", "label": "CSS" }, |
| 122 | + { |
| 123 | + "value": "scss", |
| 124 | + "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]" |
| 125 | + }, |
| 126 | + { |
| 127 | + "value": "sass", |
| 128 | + "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]" |
| 129 | + }, |
| 130 | + { |
| 131 | + "value": "less", |
| 132 | + "label": "Less [ http://lesscss.org ]" |
| 133 | + }, |
| 134 | + { |
| 135 | + "value": "styl", |
| 136 | + "label": "Stylus [ http://stylus-lang.com ]" |
| 137 | + } |
137 | 138 | ]
|
138 | 139 | },
|
139 | 140 | "x-user-analytics": 5
|
|
157 | 158 | "x-user-analytics": 14
|
158 | 159 | }
|
159 | 160 | },
|
160 |
| - "required": [ |
161 |
| - "name", |
162 |
| - "version" |
163 |
| - ] |
| 161 | + "required": ["name", "version"] |
164 | 162 | }
|
0 commit comments