-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
schema.json
56 lines (56 loc) · 1.52 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsAngularPipe",
"title": "Angular Pipe Options Schema",
"type": "object",
"cli": "nx",
"additionalProperties": false,
"description": "Creates an Angular pipe.",
"properties": {
"path": {
"type": "string",
"description": "The path at which to create the pipe file, relative to the workspace root.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What is the path of the new pipe?"
},
"name": {
"type": "string",
"description": "The name of the pipe.",
"x-prompt": "What name would you like to use for the pipe?"
},
"skipTests": {
"type": "boolean",
"description": "Do not create \"spec.ts\" test files for the new pipe.",
"default": false
},
"skipImport": {
"type": "boolean",
"default": false,
"description": "Do not import this pipe into the owning NgModule."
},
"standalone": {
"description": "Whether the generated pipe is standalone.",
"type": "boolean",
"default": true
},
"module": {
"type": "string",
"description": "The filename of the declaring NgModule.",
"alias": "m"
},
"export": {
"type": "boolean",
"default": false,
"description": "The declaring NgModule exports this pipe."
},
"skipFormat": {
"type": "boolean",
"default": false,
"description": "Skip formatting of files."
}
},
"required": ["path"]
}