1 | {
|
2 | "$schema": "http://json-schema.org/schema",
|
3 | "$id": "ng-cli://commands/add.json",
|
4 | "description": "Adds support for an external library to your project.",
|
5 | "$longDescription": "./add.md",
|
6 |
|
7 | "$scope": "in",
|
8 | "$impl": "./add-impl#AddCommand",
|
9 |
|
10 | "type": "object",
|
11 | "allOf": [
|
12 | {
|
13 | "properties": {
|
14 | "collection": {
|
15 | "type": "string",
|
16 | "description": "The package to be added.",
|
17 | "$default": {
|
18 | "$source": "argv",
|
19 | "index": 0
|
20 | }
|
21 | },
|
22 | "registry": {
|
23 | "description": "The NPM registry to use.",
|
24 | "type": "string",
|
25 | "oneOf": [
|
26 | {
|
27 | "format": "uri"
|
28 | },
|
29 | {
|
30 | "format": "hostname"
|
31 | }
|
32 | ]
|
33 | },
|
34 | "verbose": {
|
35 | "description": "Display additional details about internal operations during execution.",
|
36 | "type": "boolean",
|
37 | "default": false
|
38 | }
|
39 | },
|
40 | "required": [
|
41 | ]
|
42 | },
|
43 | {
|
44 | "$ref": "./definitions.json#/definitions/interactive"
|
45 | },
|
46 | {
|
47 | "$ref": "./definitions.json#/definitions/base"
|
48 | }
|
49 | ]
|
50 | }
|