-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
160 lines (160 loc) · 3.81 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
{
"name": "remote-adb",
"publisher": "nisargjhaveri",
"displayName": "Remote Android Debugging",
"description": "Connect local Android devices to remote machine for debugging",
"repository": "https://github.com/nisargjhaveri/vscode-remote-adb",
"version": "0.1.0",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"remote",
"remote development",
"adb",
"android",
"debugging"
],
"activationEvents": [
"onView:remote-adb"
],
"main": "./dist/extension.js",
"extensionKind": [
"ui"
],
"contributes": {
"views": {
"debug": [
{
"id": "remote-adb",
"name": "Remote Android",
"icon": "$(device-mobile)",
"when": "remoteName"
}
]
},
"viewsWelcome": [
{
"view": "remote-adb",
"contents": "No locally connected Android devices or emulator found."
}
],
"menus": {
"view/title": [
{
"command": "remote-adb.addTcpDevice",
"group": "navigation",
"when": "view == remote-adb"
}
],
"view/item/context": [
{
"command": "remote-adb.copyRemoteSerial",
"when": "viewItem =~ /;connected;/",
"group": "inline@1"
},
{
"command": "remote-adb.connectDevice",
"when": "viewItem =~ /;disconnected;/",
"group": "inline@2"
},
{
"command": "remote-adb.disconnectDevice",
"when": "viewItem =~ /;connected;/",
"group": "inline@2"
},
{
"command": "remote-adb.connectDevice",
"when": "viewItem =~ /;disconnected;/",
"group": "navigation@1"
},
{
"command": "remote-adb.disconnectDevice",
"when": "viewItem =~ /;connected;/",
"group": "navigation@1"
},
{
"command": "remote-adb.removeTcpDevice",
"when": "viewItem =~ /;removable;/",
"group": "navigation@2"
},
{
"command": "remote-adb.copyRemoteSerial",
"when": "viewItem =~ /;connected;/",
"group": "1_copy"
}
]
},
"commands": [
{
"command": "remote-adb.connectDevice",
"title": "Connect to Remote",
"shortTitle": "Connect",
"icon": "$(plug)",
"enablement": "view == remote-adb"
},
{
"command": "remote-adb.disconnectDevice",
"title": "Disconnect from Remote",
"shortTitle": "Disconnect",
"icon": "$(debug-disconnect)",
"enablement": "view == remote-adb"
},
{
"command": "remote-adb.copyRemoteSerial",
"title": "Copy remote serial",
"icon": "$(copy)",
"enablement": "view == remote-adb"
},
{
"command": "remote-adb.removeTcpDevice",
"title": "Remove device",
"icon": "$(trash)",
"enablement": "view == remote-adb"
},
{
"command": "remote-adb.addTcpDevice",
"title": "Add TCP device",
"icon": "$(plus)",
"category": "Remote Android",
"enablement": "remoteName"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && node esbuild.js",
"check-types": "tsc --noEmit",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && node esbuild.js --production",
"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/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vscode/test-electron": "^2.1.5",
"esbuild": "^0.23.1",
"eslint": "^8.18.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"npm-run-all": "^4.1.5",
"remote-adb": "^3.1.1",
"typescript": "^5.5.4"
},
"dependencies": {
"usb": "^2.7.0"
}
}