-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
236 lines (236 loc) · 6.39 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"name": "vscode-angular-components-intellisense",
"displayName": "ng1.5 components utility",
"description": "Angular 1.5 components utility",
"author": "Ireneusz Patalas",
"license": "MIT",
"version": "1.0.0",
"publisher": "ipatalas",
"contributors": [
"Ireneusz Patalas",
"Kamil Haładus"
],
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"angular",
"AngularJS"
],
"icon": "images/angular.png",
"galleryBanner": {
"color": "#0273D4",
"theme": "dark"
},
"activationEvents": [
"*"
],
"repository": {
"type": "git",
"url": "https://github.com/ipatalas/ngComponentUtility"
},
"main": "./out/src/main",
"contributes": {
"commands": [
{
"command": "ngComponents.refreshAngularComponents",
"title": "Refresh Components Cache",
"category": "ngComponents"
},
{
"command": "ngComponents.refreshMemberDiagnostics",
"title": "Refresh Member Diagnostics",
"category": "ngComponents"
},
{
"command": "ngComponents.findUnusedAngularComponents",
"title": "Find unused Angular components",
"category": "ngComponents"
},
{
"command": "ngComponents.findUnusedDirectives",
"title": "Find unused Angular directives",
"category": "ngComponents"
},
{
"command": "ngComponents.markAsAngularProject",
"title": "Force enable ngComponents utility on this workspace",
"category": "ngComponents"
},
{
"command": "ngComponents.switchComponentParts",
"title": "Switch between component/controller/template",
"category": "ngComponents"
}
],
"keybindings": [
{
"command": "ngComponents.switchComponentParts",
"key": "Alt+o"
}
],
"configuration": {
"title": "ng1.5 components utility",
"type": "object",
"properties": {
"ngComponents.componentGlobs": {
"type": [
"array",
"string"
],
"default": [
"**/*Component.ts"
],
"description": "glob string used to search for files with components"
},
"ngComponents.controllerGlobs": {
"type": [
"array",
"string"
],
"default": [
"**/*Controller.ts"
],
"description": "glob string used to search for files with controllers"
},
"ngComponents.htmlGlobs": {
"type": [
"array",
"string"
],
"default": [
"**/*.html"
],
"description": "glob string used to search for HTML files for references of the components"
},
"ngComponents.routeGlobs": {
"type": [
"array",
"string"
],
"default": [
"**/*route.ts"
],
"description": "glob string used to search for angular-ui-router files for references of the components"
},
"ngComponents.directiveGlobs": {
"type": [
"array",
"string"
],
"default": [
"**/*.directive.ts"
],
"description": "glob string used to search for directive files"
},
"ngComponents.goToDefinition": {
"type": [
"array",
"string"
],
"default": [
"template",
"controller"
],
"uniqueItems": true,
"description": "Specify which parts of the component should the Go To Definition action show"
},
"ngComponents.controller.publicMembersOnly": {
"type": "boolean",
"default": true,
"description": "Set to false to show all members in auto complete"
},
"ngComponents.controller.excludedMembers": {
"type": "string",
"default": "^\\$",
"description": "Regular expression which can exclude additional members (defaults to exclude Angular lifecycle hooks)"
},
"ngComponents.logging.verbose": {
"type": "boolean",
"default": false,
"description": "Set to true to enable verbose logging in developers console"
},
"ngComponents.logging.redirectToFile": {
"type": "string",
"default": null,
"description": "Set path to which you want to redirect logging to"
},
"ngComponents.forceEnable": {
"type": "boolean",
"default": false,
"description": "Use this setting to force enable the extension if AngularJS was not detected automatically"
},
"ngComponents.angularRoot": {
"type": "string",
"default": null,
"description": "Custom Angular root folder relative to workspace root (defaults to workspace root)"
},
"ngComponents.memberDiagnostics.enabled": {
"type": "boolean",
"default": false,
"description": "Enables validation of all components' HTML templates in regards to fields that are used there (experimental)"
},
"ngComponents.memberDiagnostics.html.checkBindings": {
"type": "boolean",
"default": true,
"description": "When disabled use of component's binding in the template when it's not defined in the controller will issue a warning"
},
"ngComponents.memberDiagnostics.html.checkControllerMembers": {
"type": "boolean",
"default": true,
"description": "When disabled use of component's controller member in the template will issue a warning"
},
"ngComponents.memberDiagnostics.didYouMean.similarityThreshold": {
"type": "number",
"default": 0.6,
"description": "Similarity thresold for Did You Mean suggestions"
},
"ngComponents.memberDiagnostics.didYouMean.maxResults": {
"type": "number",
"default": 2,
"description": "Determines how many suggestions to show if there are more available"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "cross-env NODE_ENV=test node ./node_modules/vscode/bin/test",
"linter": "tslint -p .",
"coverage": "node node_modules/codacy-coverage/bin/codacy-coverage.js < ./coverage/lcov.info"
},
"devDependencies": {
"@types/angular": "^1.6.55",
"@types/glob": "^5.0.35",
"@types/lodash": "^4.14.136",
"@types/mocha": "^5.2.0",
"@types/node": "^8.10.12",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^4.3.1",
"codacy-coverage": "^3.4.0",
"cross-env": "^5.2.0",
"decache": "^4.5.1",
"glob": "^7.1.4",
"istanbul": "^0.4.5",
"mocha": "^5.0.0",
"proxyquire": "^2.1.1",
"remap-istanbul": "^0.13.0",
"should": "^13.2.3",
"sinon": "^5.0.3",
"tslint": "^5.18.0",
"vscode": "^1.1.36"
},
"dependencies": {
"didyoumean2": "^1.3.0",
"lodash": "^4.17.15",
"parse5": "^3.0.2",
"pretty-hrtime": "^1.0.3",
"typescript": "^3.5.3"
}
}