Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | {
|
---|
| 2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
| 3 | "$id": "SchematicsLibrary",
|
---|
| 4 | "title": "Library Options Schema",
|
---|
| 5 | "type": "object",
|
---|
| 6 | "description": "Creates a new, generic library project in the current workspace.",
|
---|
| 7 | "long-description": "./library-long.md",
|
---|
| 8 | "additionalProperties": false,
|
---|
| 9 | "properties": {
|
---|
| 10 | "name": {
|
---|
| 11 | "type": "string",
|
---|
| 12 | "description": "The name of the library.",
|
---|
| 13 | "$default": {
|
---|
| 14 | "$source": "argv",
|
---|
| 15 | "index": 0
|
---|
| 16 | },
|
---|
| 17 | "x-prompt": "What name would you like to use for the library?"
|
---|
| 18 | },
|
---|
| 19 | "entryFile": {
|
---|
| 20 | "type": "string",
|
---|
| 21 | "format": "path",
|
---|
| 22 | "description": "The path at which to create the library's public API file, relative to the workspace root.",
|
---|
| 23 | "default": "public-api"
|
---|
| 24 | },
|
---|
| 25 | "prefix": {
|
---|
| 26 | "type": "string",
|
---|
| 27 | "format": "html-selector",
|
---|
| 28 | "description": "A prefix to apply to generated selectors.",
|
---|
| 29 | "default": "lib",
|
---|
| 30 | "alias": "p"
|
---|
| 31 | },
|
---|
| 32 | "skipPackageJson": {
|
---|
| 33 | "type": "boolean",
|
---|
| 34 | "default": false,
|
---|
| 35 | "description": "Do not add dependencies to the \"package.json\" file. "
|
---|
| 36 | },
|
---|
| 37 | "skipInstall": {
|
---|
| 38 | "description": "Do not install dependency packages.",
|
---|
| 39 | "type": "boolean",
|
---|
| 40 | "default": false
|
---|
| 41 | },
|
---|
| 42 | "skipTsConfig": {
|
---|
| 43 | "type": "boolean",
|
---|
| 44 | "default": false,
|
---|
| 45 | "description": "Do not update \"tsconfig.json\" to add a path mapping for the new library. The path mapping is needed to use the library in an app, but can be disabled here to simplify development."
|
---|
| 46 | },
|
---|
| 47 | "lintFix": {
|
---|
| 48 | "type": "boolean",
|
---|
| 49 | "description": "Apply lint fixes after generating the library.",
|
---|
| 50 | "x-user-analytics": 15,
|
---|
| 51 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
| 52 | }
|
---|
| 53 | },
|
---|
| 54 | "required": []
|
---|
| 55 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.