-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
171 lines (171 loc) · 6.2 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
{
"name": "vscode-generate-getter-setter",
"displayName": "TypeScript Toolbox",
"description": "Add and Optimize Imports, Generate Getters / Setters and Constructors",
"version": "0.5.0",
"publisher": "DSKWRK",
"icon": "icon.png",
"galleryBanner": {
"color": "#d4d3d3",
"theme": "dark"
},
"capabilities": {
"codeActionProvider": "true"
},
"engines": {
"vscode": "^1.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/cybertim/vscode-gengetset.git"
},
"homepage": "https://github.com/cybertim/vscode-gengetset",
"bugs": {
"url": "https://github.com/cybertim/vscode-gengetset/issues"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:genGetSet.getter",
"onCommand:genGetSet.setter",
"onCommand:genGetSet.getterAndSetter",
"onCommand:genGetSet.constructor",
"onCommand:genGetSet.popup",
"onCommand:genGetSet.addImport",
"onCommand:genGetSet.sortImports",
"onCommand:genGetSet.scanImports",
"onLanguage:typescript"
],
"main": "./out/src/extension",
"contributes": {
"keybindings": [{
"command": "genGetSet.popup",
"key": "alt+shift+g",
"when": "editorTextFocus"
}],
"commands": [{
"command": "genGetSet.getter",
"title": "TypeScript: Generate Getter"
},
{
"command": "genGetSet.setter",
"title": "TypeScript: Generate Setter"
},
{
"command": "genGetSet.getterAndSetter",
"title": "TypeScript: Generate Getter and Setter"
},
{
"command": "genGetSet.allGetterAndSetter",
"title": "TypeScript: Generate ALL Getter and Setter"
},
{
"command": "genGetSet.constructor",
"title": "TypeScript: Generate Constructor"
},
{
"command": "genGetSet.sortImports",
"title": "TypeScript: Optimize Imports"
},
{
"command": "genGetSet.addImport",
"title": "TypeScript: Add Import"
},
{
"command": "genGetSet.scanImport",
"title": "TypeScript: (Re)Scan Exports"
}
],
"configuration": {
"type": "object",
"title": "Generate Getter and Setter configuration",
"properties": {
"genGetSet.importTypings": {
"type": "boolean",
"default": true,
"description": "Create import lines based on definition files from /typings/."
},
"genGetSet.importNode": {
"type": "boolean",
"default": true,
"description": "Create import lines based on definition files from /node_modules/."
},
"genGetSet.scoped": {
"type": "boolean",
"default": true,
"description": "Only show private variables from current class based on cursor position."
},
"genGetSet.filter": {
"type": "boolean",
"default": true,
"description": "Only show private variables which do not have a getter/setter method."
},
"genGetSet.classic": {
"type": "boolean",
"default": false,
"description": "Use 'getValue' and 'setValue' instead of 'get value' and 'set value'."
},
"genGetSet.pathStringDelimiter": {
"type": "string",
"default": "'",
"description": "Sets which quote use to generate import path."
},
"genGetSet.spacedImportLine": {
"type": "boolean",
"default": false,
"description": "Adds spaces between the beginning and ending of the brackets in an import line."
},
"genGetSet.scanOnSave": {
"type": "boolean",
"default": false,
"description": "Index all exports in the workspace when a change is saved."
},
"genGetSet.ignoredLibraryPaths": {
"type": "array",
"default": [
"src",
"dist"
],
"description": "An array of paths to ignore when building import rules."
},
"genGetSet.ignoredNodeLibraries": {
"type": "array",
"default": [
"node",
"chrome"
],
"description": "An array of node-libraries to ignore when running auto-import."
},
"genGetSet.ignoredDictionaryList": {
"type": "array",
"default": [
"vscode",
"tsconfig"
],
"description": "An array of dictionary exports to ignore when running auto-import."
},
"genGetSet.ignoredImportList": {
"type": "array",
"default": [
"Promise"
],
"description": "An array of imports to ignore when running auto-import."
}
}
}
},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"publish": "vsce publish"
},
"devDependencies": {
"typescript": "^1.8.10",
"vsce": "^1.37.6",
"vscode": "^0.11.13"
},
"dependencies": {}
}