-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
167 lines (167 loc) · 4.42 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
{
"name": "simcode",
"displayName": "SimCode",
"description": "VS code extension to Manage android emulator and ios simulators",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "https://github.com/sudharsan-selvaraj/simcode.git"
},
"engines": {
"vscode": "^1.76.0"
},
"publisher": "sudharsan-selvaraj",
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"views": {
"simcode": [
{
"id": "simcode.android",
"name": "Android"
},
{
"id": "simcode.ios",
"name": "Ios",
"when": "isMac == true"
}
]
},
"viewsWelcome": [
{
"view": "simcode.android",
"contents": "Unable to fetch andoid emulators. Make sure you ANDROID_HOME environemt variable points to correct directory.\nLean more about environment varibales in [android documentation](https://developer.android.com/studio/command-line/variables)",
"when": "simcode.androidNotAvailable == true"
},
{
"view": "simcode.ios",
"contents": "Unable to fetch iOS emulators. Make sure you have latest xcode and xcode command line utility are installed",
"when": "simcode.iosNotAvailable == true"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "simcode",
"title": "Simcode",
"icon": "media/icon.svg"
}
]
},
"configuration": {
"type": "object",
"title": "Simcode",
"properties": {
"simcode.androidhome": {
"type": "string",
"default": "",
"description": "ANDROID_HOME path"
}
}
},
"commands": [
{
"command": "simcode.openSettings",
"title": "Open Simcode setting",
"category": "Simcode"
},
{
"command": "simcode.android.refreshDevice",
"title": "Refresh",
"icon": "$(extensions-refresh)"
},
{
"command": "simcode.android.startDevice",
"title": "Start",
"icon": "$(debug-start)"
},
{
"command": "simcode.android.stopDevice",
"title": "Stop",
"icon": "$(stop-circle)"
},
{
"command": "simcode.ios.refreshDevice",
"title": "Refresh",
"icon": "$(extensions-refresh)"
},
{
"command": "simcode.ios.startDevice",
"title": "Start",
"icon": "$(debug-start)"
},
{
"command": "simcode.ios.stopDevice",
"title": "Stop",
"icon": "$(stop-circle)"
}
],
"menus": {
"view/title": [
{
"command": "simcode.android.refreshDevice",
"when": "view == simcode.android",
"group": "navigation"
},
{
"command": "simcode.ios.refreshDevice",
"when": "view == simcode.ios",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "simcode.android.startDevice",
"when": "view == simcode.android && viewItem == stopped",
"group": "inline"
},
{
"command": "simcode.android.stopDevice",
"group": "inline",
"when": "view == simcode.android && viewItem == running"
},
{
"command": "simcode.ios.startDevice",
"when": "view == simcode.ios && viewItem == stopped",
"group": "inline"
},
{
"command": "simcode.ios.stopDevice",
"group": "inline",
"when": "view == simcode.ios && viewItem == running"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/appium-adb": "^9.10.0",
"@types/glob": "^8.1.0",
"@types/lodash": "^4.14.191",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.2.3",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"appium-adb": "^9.10.24",
"lodash": "^4.17.21",
"node-simctl": "^7.1.12"
}
}