-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
189 lines (189 loc) · 5.49 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
{
"name": "plywood-gallery",
"displayName": "Plywood Gallery For VSCode",
"description": "A utility Extension to visualize code snippets for Graphical Frameworks.",
"version": "0.0.3",
"publisher": "Rickaym",
"repository": {
"url": "https://github.com/Rickaym/plywood-gallery-for-vscode",
"type": "git",
"directory": "src"
},
"author": {
"name": "Ricky",
"url": "https://github.com/Rickaym"
},
"engines": {
"vscode": "^1.66.0"
},
"icon": "assets/wooden-box.png",
"categories": [
"Visualization",
"Other"
],
"keywords": [
"plywood",
"gallery",
"code snippets"
],
"activationEvents": [
"onCommand:plywood-gallery.ImportRemote",
"onCommand:plywood-gallery.ImportLocal",
"onCommand:plywood-gallery.OpenGallery",
"onCommand:plywood-gallery.ClearCache",
"onCommand:plywood-gallery.Refresh",
"onCommand:plywood-gallery.RemoveGallery",
"onCommand:plywood-gallery.CheckGalleryUpdate",
"onCommand:plywood-gallery.ShowOutput",
"onCommand:plywood-gallery.Root",
"onView:installed-galleries",
"onView:recommended-galleries"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "gallery-explorer",
"title": "Gallery Explorer",
"icon": "./assets/galleries.png"
}
]
},
"viewsWelcome": [
{
"view": "installed-galleries",
"contents": "Rolling thumbleweed.. you haven't installed any galleries yet.\nImport a gallery now! \n[Remote Gallery](command:plywood-gallery.ImportRemote)\n[Local Gallery](command:plywood-gallery.ImportLocal)"
},
{
"view": "recommended-galleries",
"contents": "Waiting for a network connection to fetch galleries..."
}
],
"views": {
"gallery-explorer": [
{
"id": "installed-galleries",
"name": "Galleries"
},
{
"id": "recommended-galleries",
"name": "Recommended Galleries"
}
]
},
"menus": {
"view/title": [
{
"command": "plywood-gallery.Refresh",
"group": "navigation",
"when": "view == installed-galleries"
},
{
"command": "plywood-gallery.ShowOutput",
"group": "navigation",
"when": "view == installed-galleries"
},
{
"command": "plywood-gallery.ImportLocal",
"group": "navigation",
"when": "view == installed-galleries"
},
{
"command": "plywood-gallery.ImportRemote",
"group": "navigation",
"when": "view == installed-galleries"
}
],
"view/item/context": [
{
"command": "plywood-gallery.RemoveGallery",
"when": "view == installed-galleries && viewItem == gitGallery || viewItem == internalGallery",
"group": "inline"
},
{
"command": "plywood-gallery.CheckGalleryUpdate",
"when": "view == installed-galleries && viewItem == gitGallery",
"group": "inline"
}
]
},
"commands": [
{
"command": "plywood-gallery.ImportRemote",
"title": "Plywood Gallery: Import a Gallery from GitHub.",
"icon": "$(cloud-download)"
},
{
"command": "plywood-gallery.ImportLocal",
"title": "Plywood Gallery: Import a Gallery from local disks.",
"icon": "$(desktop-download)"
},
{
"command": "plywood-gallery.OpenGallery",
"title": "Plywood Gallery: Open a gallery webview.",
"icon": "$(preview)"
},
{
"command": "plywood-gallery.ClearCache",
"title": "Plywood Gallery: Forcibly clear cache, this usually automatic.",
"icon": "$(trash)"
},
{
"command": "plywood-gallery.Refresh",
"title": "Plywood Gallery: Refresh the tree view for present galleries.",
"icon": "$(refresh)"
},
{
"command": "plywood-gallery.RemoveGallery",
"title": "Plywood Gallery: Remove a downloaded gallery.",
"icon": "$(trash)"
},
{
"command": "plywood-gallery.CheckGalleryUpdate",
"title": "Plywood Gallery: Check for gallery updates.",
"icon": "$(sync)"
},
{
"command": "plywood-gallery.ShowOutput",
"title": "Plywood Gallery: Show output channel",
"icon": "$(output)"
},
{
"command": "plywood-gallery.Root",
"title": "Plywood Gallery: Enable Root permissions"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.66.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"typescript": "^4.5.5",
"ts-loader": "^9.2.8",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"@vscode/test-electron": "^2.1.3"
},
"dependencies": {
"axios": "^0.26.1",
"yaml": "^2.0.0"
}
}