Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | {
|
---|
2 | "$schema": "http://json-schema.org/draft-07/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 | "skipConfirmation": {
|
---|
40 | "description": "Skip asking a confirmation prompt before installing and executing the package. Ensure package name is correct prior to using this option.",
|
---|
41 | "type": "boolean",
|
---|
42 | "default": false
|
---|
43 | }
|
---|
44 | },
|
---|
45 | "required": []
|
---|
46 | },
|
---|
47 | {
|
---|
48 | "$ref": "./definitions.json#/definitions/interactive"
|
---|
49 | },
|
---|
50 | {
|
---|
51 | "$ref": "./definitions.json#/definitions/base"
|
---|
52 | }
|
---|
53 | ]
|
---|
54 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.