1 | {
|
2 | "$schema": "http://json-schema.org/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 | "properties": {
|
9 | "name": {
|
10 | "type": "string",
|
11 | "description": "The name of the library.",
|
12 | "$default": {
|
13 | "$source": "argv",
|
14 | "index": 0
|
15 | },
|
16 | "x-prompt": "What name would you like to use for the library?"
|
17 | },
|
18 | "entryFile": {
|
19 | "type": "string",
|
20 | "format": "path",
|
21 | "description": "The path at which to create the library's public API file, relative to the workspace root.",
|
22 | "default": "public-api"
|
23 | },
|
24 | "prefix": {
|
25 | "type": "string",
|
26 | "format": "html-selector",
|
27 | "description": "A prefix to apply to generated selectors.",
|
28 | "default": "lib",
|
29 | "alias": "p"
|
30 | },
|
31 | "skipPackageJson": {
|
32 | "type": "boolean",
|
33 | "default": false,
|
34 | "description": "When true, does not add dependencies to the \"package.json\" file. "
|
35 | },
|
36 | "skipInstall": {
|
37 | "description": "When true, does not install dependency packages.",
|
38 | "type": "boolean",
|
39 | "default": false
|
40 | },
|
41 | "skipTsConfig": {
|
42 | "type": "boolean",
|
43 | "default": false,
|
44 | "description": "When true, does not update \"tsconfig.base.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."
|
45 | },
|
46 | "lintFix": {
|
47 | "type": "boolean",
|
48 | "default": false,
|
49 | "description": "When true, applies lint fixes after generating the library.",
|
50 | "x-user-analytics": 15
|
51 | }
|
52 | },
|
53 | "required": []
|
54 | }
|