-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
223 lines (223 loc) · 5.4 KB
/
package.json
File metadata and controls
223 lines (223 loc) · 5.4 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
{
"name": "google-drive-vscode",
"displayName": "Google Drive™ for VSCode (unofficial extension)",
"description": "Unofficial extension to manage Google Drive™ files and folders directly from VSCode",
"author": {
"name": "Gustavo Cassel",
"email": "guscassel@gmail.com"
},
"license": "MIT",
"publisher": "GustavoASC",
"version": "1.3.9",
"icon": "img/icon.png",
"engines": {
"vscode": "^1.70.0"
},
"bugs": {
"url": "https://github.com/GustavoASC/google-drive-vscode/issues",
"email": "guscassel@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/GustavoASC/google-drive-vscode.git"
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#08733f",
"theme": "dark"
},
"keywords": [
"google",
"drive",
"cloud",
"storage"
],
"preview": true,
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "google.drive.configureCredentials",
"title": "Google Drive: Configure credentials"
},
{
"command": "google.drive.fetchFiles",
"title": "Google Drive: Fetch files from Drive",
"icon": "$(search-refresh)"
},
{
"command": "google.drive.uploadOpenFile",
"title": "Google Drive: Upload current file to Drive"
},
{
"command": "google.drive.uploadSelectedFile",
"title": "Google Drive: Upload selected file to Drive"
},
{
"command": "google.drive.uploadToFolderSelectedOnView",
"title": "Google Drive: Upload file to selected folder on Drive",
"icon": "$(cloud-upload)",
"enablement": "viewItem != file"
},
{
"command": "google.drive.createFolder",
"title": "Google Drive: Create folder on Drive",
"icon": "$(new-folder)",
"enablement": "viewItem != file"
},
{
"command": "google.drive.download",
"title": "Google Drive: Download file from Drive",
"icon": "$(cloud-download)",
"enablement": "viewItem != folder"
},
{
"command": "google.drive.rename",
"title": "Google Drive: Rename file on Drive",
"icon": "$(edit)"
},
{
"command": "google.drive.copyurl",
"title": "Google Drive: Copy URL to clipboard"
},
{
"command": "google.drive.openFile",
"title": "Google Drive: Preview selected file",
"enablement": "viewItem == file",
"icon": "$(open-preview)"
},
{
"command": "google.drive.uploadWorkspace",
"title": "Google Drive: Upload Workspace to Drive"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "driveActivityBar",
"title": "Google Drive",
"icon": "img/icon.svg"
}
]
},
"views": {
"driveActivityBar": [
{
"id": "driveView",
"name": "Google Drive"
}
]
},
"menus": {
"editor/title": [
{
"command": "google.drive.download",
"group": "navigation",
"when": "resourceScheme == googledrive"
}
],
"view/title": [
{
"command": "google.drive.createFolder",
"when": "view == driveView"
},
{
"command": "google.drive.fetchFiles",
"when": "view == driveView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "google.drive.download",
"when": "view == driveView"
},
{
"command": "google.drive.uploadToFolderSelectedOnView",
"when": "view == driveView"
},
{
"command": "google.drive.createFolder",
"when": "view == driveView"
},
{
"command": "google.drive.rename",
"when": "view == driveView"
},
{
"command": "google.drive.copyurl",
"when": "view == driveView"
},
{
"command": "google.drive.openFile",
"when": "view == driveView",
"group": "inline"
}
],
"explorer/context": [
{
"command": "google.drive.uploadSelectedFile",
"group": "drive"
}
]
},
"configuration": {
"title": "Google Drive",
"properties": {
"google.drive.alertMissingCredentials": {
"type": "boolean",
"description": "Controls whether Google Drive extension should alert on startup when no credentials are configured.",
"default": true
},
"google.drive.authPort": {
"type": "number",
"description": "Controls the port number on which a server will be started on the local machine to proceed with the OAuth2 authorization flow.",
"default": 3000
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"package": "npm run test && vsce package",
"compile": "npm run tslint && tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "tsc -p ./",
"ui-test": "node ./out/test/integration/runTest.js",
"test": "mocha --require ts-node/register ./src/test/drive/**/*.test.ts && npm run ui-test",
"tslint": "tslint --project tsconfig.json --config tslint.json"
},
"devDependencies": {
"@types/archiver": "3.1.0",
"@types/chai": "4.1.6",
"@types/glob": "^7.1.1",
"@types/mime-types": "^2.1.0",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.70.0",
"chai": "4.2.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"ts-node": "^7.0.1",
"tslint": "^5.14.0",
"typescript": "^4.7.4",
"vscode-test": "^1.3.0"
},
"dependencies": {
"googleapis": "52.1.0",
"google-auth-library": "7.14.0",
"server-destroy": "1.0.1",
"mime-types": "2.1.27",
"archiver": "4.0.2"
},
"__metadata": {
"id": "d4e69f94-ffae-47b6-a315-e5f90289a7c2",
"publisherDisplayName": "Gustavo Cassel",
"publisherId": "6290af19-eb5e-4f57-8ff3-c76e661f7bc2"
}
}