UNPKG

2.32 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "$id": "ng-cli://commands/definitions.json",
4
5 "definitions": {
6 "architect": {
7 "properties": {
8 "project": {
9 "type": "string",
10 "description": "The name of the project to build. Can be an application or a library.",
11 "$default": {
12 "$source": "argv",
13 "index": 0
14 }
15 },
16 "configuration": {
17 "description": "A named build target, as specified in the \"configurations\" section of angular.json.\nEach named target is accompanied by a configuration of option defaults for that target.\nSetting this explicitly overrides the \"--prod\" flag",
18 "type": "string",
19 "aliases": [
20 "c"
21 ]
22 },
23 "prod": {
24 "description": "Shorthand for \"--configuration=production\".\nWhen true, sets the build configuration to the production target.\nBy default, the production target is set up in the workspace configuration such that all builds make use of bundling, limited tree-shaking, and also limited dead code elimination.",
25 "type": "boolean"
26 }
27 }
28 },
29 "base": {
30 "type": "object",
31 "properties": {
32 "help": {
33 "enum": [true, false, "json", "JSON"],
34 "description": "Shows a help message for this command in the console.",
35 "default": false
36 }
37 }
38 },
39 "schematic": {
40 "properties": {
41 "dryRun": {
42 "type": "boolean",
43 "default": false,
44 "aliases": [ "d" ],
45 "description": "When true, runs through and reports activity without writing out results."
46 },
47 "force": {
48 "type": "boolean",
49 "default": false,
50 "aliases": [ "f" ],
51 "description": "When true, forces overwriting of existing files."
52 }
53 }
54 },
55 "interactive": {
56 "properties": {
57 "interactive": {
58 "type": "boolean",
59 "default": "true",
60 "description": "When false, disables interactive input prompts."
61 },
62 "defaults": {
63 "type": "boolean",
64 "default": "false",
65 "description": "When true, disables interactive input prompts for options with a default."
66 }
67 }
68 }
69 }
70}