UNPKG

802 BJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsAngularConfig",
4 "title": "Angular Config File Options Schema",
5 "type": "object",
6 "additionalProperties": false,
7 "description": "Generates a configuration file in the given project.",
8 "properties": {
9 "project": {
10 "type": "string",
11 "description": "The name of the project.",
12 "$default": {
13 "$source": "projectName"
14 }
15 },
16 "type": {
17 "type": "string",
18 "description": "Specifies which type of configuration file to create.",
19 "enum": ["karma", "browserslist"],
20 "x-prompt": "Which type of configuration file would you like to create?",
21 "$default": {
22 "$source": "argv",
23 "index": 0
24 }
25 }
26 },
27 "required": ["project", "type"]
28}