forked from zlkrnynkrc/visual_flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
237 lines (237 loc) · 6.2 KB
/
package.json
File metadata and controls
237 lines (237 loc) · 6.2 KB
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
237
{
"name": "visualeditflutter",
"displayName": "Visual Flutter",
"description": "Visual tools for editing widgets,dependencies,permissions for flutter",
"publisher": "zlkrnynkrc",
"repository": {
"type": "git",
"url": "https://github.com/zlkrnynkrc/visual_flutter.git"
},
"version": "0.0.3",
"icon": "media/drag.png",
"engines": {
"vscode": "^1.91.0"
},
"keywords": [
"Flutter",
"Widget",
"drag",
"drop",
"property",
"edit",
"show",
"search"
],
"license": "SEE LICENSE IN LICENSE.md",
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:dart",
"workspaceContains:**/pubspec.yaml"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "workspace",
"title": "Visual Flutter",
"properties": {
"visualFlutter.autostart": {
"type": "boolean",
"default": true,
"description": "Enable dart analysis server autostart"
},
"visualFlutter.autolog": {
"type": "boolean",
"default": true,
"description": "Enable logging all the time even server is stopped"
},
"visualFlutter.autosave": {
"type": "boolean",
"default": true,
"description": "Enable autosave after changes"
},
"visualFlutter.dartPath": {
"type": "string",
"default": "/path/to/dart-sdk",
"description": "Set a custom path for Dart SDK"
},
"visualFlutter.dartSnapshot": {
"type": "string",
"default": "/path/to/dart-snapshot",
"description": "Set a custom path for Dart snapshot"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "flutter-widget-properties",
"title": "Visual Flutter",
"icon": "media/drag.png",
"when": "flutterProject"
}
]
},
"views": {
"flutter-widget-properties": [
{
"icon": "media/list.svg",
"type": "webview",
"id": "flutter-widget-list-activitybar",
"name": "Flutter Widget List"
},
{
"icon": "media/properties.svg",
"type": "webview",
"id": "widget-fields-sidebar-activitybar",
"name": "Widget Properties"
},
{
"icon": "media/dependencies.svg",
"type": "webview",
"id": "flutter-dependencies-activitybar",
"name": "Flutter Dependencies"
},
{
"icon": "media/permissions.svg",
"type": "webview",
"id": "flutter-permissions-activitybar",
"name": "Flutter Permissions"
}
],
"explorer": [
{
"icon": "media/list.svg",
"type": "webview",
"id": "flutter-widget-list-explorer",
"name": "Flutter Widget List"
},
{
"icon": "media/properties.svg",
"type": "webview",
"id": "widget-fields-sidebar-explorer",
"name": "Widget Properties"
},
{
"icon": "media/dependencies.svg",
"type": "webview",
"id": "flutter-dependencies-explorer",
"name": "Flutter Dependencies"
},
{
"icon": "media/permissions.svg",
"type": "webview",
"id": "flutter-permissions-explorer",
"name": "Flutter Permissions"
}
]
},
"commands": [
{
"command": "dependencies.add",
"title": "Add Dependency"
},
{
"command": "dependencies.listOutdated",
"title": "List Outdated Dependencies"
},
{
"command": "analysisserver.start",
"title": "Start Analysis Server"
},
{
"command": "analysisserver.stop",
"title": "Stop Analysis Server"
},
{
"command": "flutter.per.abi",
"title": "Flutter build per abi"
},
{
"command": "flutter.createWorkspace",
"title": "Simplfy Workspace"
},
{
"command": "flutter.wrapWithObx",
"title": "Wrap with Obx"
},
{
"command": "flutter.wrapWithExpanded",
"title": "Wrap with Expanded"
},
{
"command": "flutter.wrapWithFlexible",
"title": "Wrap with Flexible"
}
],
"menus": {
"view/title": [
{
"when": "view == flutter-dependencies-activitybar",
"command": "dependencies.add",
"group": "navigation"
},
{
"when": "view == flutter-dependencies-explorer",
"command": "dependencies.add",
"group": "navigation"
},
{
"when": "view == widget-fields-sidebar-activitybar && !server:running",
"command": "analysisserver.start",
"group": "navigation"
},
{
"when": "view == widget-fields-sidebar-explorer && !server:running",
"command": "analysisserver.start",
"group": "navigation"
},
{
"when": "view == widget-fields-sidebar-activitybar && server:running",
"command": "analysisserver.stop",
"group": "navigation"
},
{
"when": "view == widget-fields-sidebar-explorer && server:running",
"command": "analysisserver.stop",
"group": "navigation"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test",
"build": "node ./esbuild.config.js --watch",
"postinstall": "patch-package",
"publish": "vsce publish",
"package": "vsce package --no-yarn"
},
"devDependencies": {
"@types/node": "^25.0.0",
"@types/vscode": "^1.91.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.27.2",
"eslint": "^10.0.0",
"globals": "^17.3.0",
"patch-package": "^8.0.1",
"postinstall-postinstall": "^2.1.0"
},
"dependencies": {
"@xmldom/xmldom": "^0.9.8",
"ajv": "^8.18.0",
"node-fetch": "^3.3.2",
"yaml": "^2.8.2"
},
"overrides": {
"minimatch": "^10.2.1",
"eslint": {
"ajv": "8.18.0"
},
"diff": "^8.0.3",
"serialize-javascript": "^7.0.3"
}
}