forked from saivishnutammineni/ng-cli-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
176 lines (176 loc) · 4.47 KB
/
package.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "ng-cli-helper",
"displayName": "Angular CLI Helper",
"description": "You no longer have to open a terminal, specify the path to create things like components, modules, services etc \n and the project to create them in a multi project angular repo",
"version": "1.0.0",
"publisher": "SAIVISHNUCHOWDARYTAMMINENI",
"engines": {
"vscode": "^1.32.0"
},
"keywords": [
"Angular",
"Angular CLI",
"Angular CLI Help"
],
"author": {
"name": "Sai Vishnu"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:test.helloWorld",
"onCommand:terminalTest.createAndSend",
"onCommand:ngHelper.createComponent",
"onCommand:ngHelper.createModule",
"onCommand:ngHelper.createService",
"onCommand:ngHelper.createDirective",
"onCommand:ngHelper.createPipe",
"onCommand:ngHelper.enableDebugMode",
"onCommand:ngHelper.enableProdMode"
],
"main": "./out/extension.js",
"icon": "images/logo.jpg",
"repository": {
"url": "https://github.com/saivishnutammineni/ng-cli-helper"
},
"contributes": {
"commands": [
{
"command": "terminalTest.createAndSend",
"title": "Terminal API: Create Terminal and Immediately Send"
},
{
"command": "ngHelper.createComponent",
"title": "Create Component"
},
{
"command": "ngHelper.createModule",
"title": "Create Module"
},
{
"command": "ngHelper.createService",
"title": "Create Service"
},
{
"command": "ngHelper.createDirective",
"title": "Create Directive"
},
{
"command": "ngHelper.createPipe",
"title": "Create Pipe"
},
{
"command": "ngHelper.enableDebugMode",
"title": "Enable Debug For Angular CLI Helper"
},
{
"command": "ngHelper.enableProdMode",
"title": "Enable Prod Mode For Angular CLI Helper"
}
],
"menus": {
"explorer/context": [
{
"command": "ngHelper.createModule",
"group": "z_commands",
"when": "explorerResourceIsFolder"
},
{
"command": "ngHelper.createComponent",
"group": "z_commands",
"when": "explorerResourceIsFolder"
},
{
"command": "ngHelper.createService",
"group": "z_commands",
"when": "explorerResourceIsFolder"
},
{
"command": "ngHelper.createDirective",
"group": "z_commands",
"when": "explorerResourceIsFolder"
},
{
"command": "ngHelper.createPipe",
"group": "z_commands",
"when": "explorerResourceIsFolder"
}
]
},
"configuration": {
"title": "ng-cli-helper",
"properties": {
"ng-cli-helper.component.change-detection": {
"type": "string",
"enum": [
"Default",
"OnPush"
],
"enumDescriptions": [
"Adds changeDetection: ChangeDetectionStrategy.Default to your Component decorator properties",
"Adds changeDetection: ChangeDetectionStrategy.OnPush to your Component decorator properties"
]
},
"ng-cli-helper.component.display-block": {
"type": "boolean",
"description": "Sets CSS property 'display: block' for the component by default"
},
"ng-cli-helper.component.inline-template": {
"type": "boolean",
"description": "Generate component with an inline template instead of a separate file"
},
"ng-cli-helper.component.inline-style": {
"type": "boolean",
"description": "Generate component with inline styles instead of a separate file"
},
"ng-cli-helper.component.prefix": {
"type": "string",
"description": "Prefix for the component name"
},
"ng-cli-helper.component.style": {
"type": "string",
"enum": [
"css",
"scss",
"sass",
"less",
"styl"
],
"description": "Define a style file extension"
},
"ng-cli-helper.component.view-encapsulation": {
"type": "string",
"enum": [
"Emulated",
"Native",
"None",
"ShadowDom"
],
"description": "Define a viewEncapsulation property of the component"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.49.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.27",
"eslint": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0"
}
}