Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.9 KB
|
Line | |
---|
1 | {
|
---|
2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
3 | "$id": "SchematicsAngularPipe",
|
---|
4 | "title": "Angular Pipe Options Schema",
|
---|
5 | "type": "object",
|
---|
6 | "additionalProperties": false,
|
---|
7 | "description": "Creates a new, generic pipe definition in the given or default project.",
|
---|
8 | "properties": {
|
---|
9 | "name": {
|
---|
10 | "type": "string",
|
---|
11 | "description": "The name of the pipe.",
|
---|
12 | "$default": {
|
---|
13 | "$source": "argv",
|
---|
14 | "index": 0
|
---|
15 | },
|
---|
16 | "x-prompt": "What name would you like to use for the pipe?"
|
---|
17 | },
|
---|
18 | "path": {
|
---|
19 | "type": "string",
|
---|
20 | "format": "path",
|
---|
21 | "description": "The path at which to create the pipe, relative to the workspace root.",
|
---|
22 | "visible": false
|
---|
23 | },
|
---|
24 | "project": {
|
---|
25 | "type": "string",
|
---|
26 | "description": "The name of the project.",
|
---|
27 | "$default": {
|
---|
28 | "$source": "projectName"
|
---|
29 | }
|
---|
30 | },
|
---|
31 | "flat": {
|
---|
32 | "type": "boolean",
|
---|
33 | "default": true,
|
---|
34 | "description": "When true (the default) creates files at the top level of the project."
|
---|
35 | },
|
---|
36 | "skipTests": {
|
---|
37 | "type": "boolean",
|
---|
38 | "description": "Do not create \"spec.ts\" test files for the new pipe.",
|
---|
39 | "default": false,
|
---|
40 | "x-user-analytics": 12
|
---|
41 | },
|
---|
42 | "skipImport": {
|
---|
43 | "type": "boolean",
|
---|
44 | "default": false,
|
---|
45 | "description": "Do not import this pipe into the owning NgModule.",
|
---|
46 | "x-user-analytics": 18
|
---|
47 | },
|
---|
48 | "module": {
|
---|
49 | "type": "string",
|
---|
50 | "description": "The declaring NgModule.",
|
---|
51 | "alias": "m"
|
---|
52 | },
|
---|
53 | "export": {
|
---|
54 | "type": "boolean",
|
---|
55 | "default": false,
|
---|
56 | "description": "The declaring NgModule exports this pipe.",
|
---|
57 | "x-user-analytics": 19
|
---|
58 | },
|
---|
59 | "lintFix": {
|
---|
60 | "type": "boolean",
|
---|
61 | "default": false,
|
---|
62 | "description": "Apply lint fixes after generating the pipe.",
|
---|
63 | "x-user-analytics": 15,
|
---|
64 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
65 | }
|
---|
66 | },
|
---|
67 | "required": ["name"]
|
---|
68 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.