Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 2.41 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
{
"name": "instacode",
"displayName": "InstaWP VSCode Extension",
"publisher": "instawp",
"description": "Remotely edit WordPress sites on InstaWP inside VSCode",
"version": "0.13.1",
"engines": {
"vscode": "^1.83.0"
},
"repository": "https://github.com/InstaWP/instacode",
"icon": "images/instawp.png",
"categories": [
"Other"
],
"activationEvents": [],
"main": "./extension.js",
"browser": "./extension.js",
"contributes": {
"uriHandlers": [
{
"uri": "instacode",
"title": "InstaCode URL Handler"
}
],
"commands": [
{
"command": "instacode.connectSFTP",
"title": "Connect to InstaWP Site"
},
{
"command": "instacode.uploadFile",
"title": "InstaWP: Upload File"
},
{
"command": "instacode.refreshSftpExplorer",
"title": "InstaWP: Refresh",
"icon": "$(refresh)"
},
{
"command": "instacode.createFolder",
"title": "InstaWP: Create New Folder"
},
{
"command": "instacode.createNewFile",
"title": "InstaWP: New File"
}
],
"menus": {
"view/item/context": [
{
"when": "view == sftpExplorer && viewItem == folder",
"command": "instacode.uploadFile"
},
{
"when": "view == sftpExplorer && viewItem == folder",
"command": "instacode.createFolder"
},
{
"when": "view == sftpExplorer && viewItem == folder",
"command": "instacode.createNewFile"
}
],
"view/title": [
{
"command": "instacode.refreshSftpExplorer",
"when": "view == sftpExplorer",
"group": "navigation",
"icon": "$(loading)"
}
]
},
"views": {
"explorer": [
{
"id": "sftpExplorer",
"name": "InstaWP Explorer",
"title": "InstaWP Explorer"
}
]
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/vscode": "^1.83.0",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"axios": "^1.6.0",
"ssh2": "^1.17.0",
"ssh2-sftp-client": "^9.1.0"
}
}