forked from microsoft/vscode-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
294 lines (294 loc) · 9.74 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
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
{
"name": "vscode-react-native",
"displayName": "React Native Tools",
"version": "0.3.2",
"private": true,
"publisher": "vsmobile",
"icon": "images/icon.svg",
"galleryBanner": {
"color": "#3B3738",
"theme": "dark"
},
"description": "Code-hinting, debugging and integrated commands for React Native",
"bugs": "https://github.com/Microsoft/vscode-react-native/issues",
"license": "SEE LICENSE IN LICENSE.txt",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-react-native"
},
"engines": {
"vscode": "^0.10.8"
},
"categories": [
"Debuggers",
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension/rn-extension",
"contributes": {
"commands": [
{
"command": "reactNative.runAndroid",
"title": "React Native: Run Android"
},
{
"command": "reactNative.runIos",
"title": "React Native: Run iOS"
},
{
"command": "reactNative.startPackager",
"title": "React Native: Start Packager"
},
{
"command": "reactNative.startExponentPackager",
"title": "React Native: Start Exponent Packager"
},
{
"command": "reactNative.stopPackager",
"title": "React Native: Stop Packager"
},
{
"command": "reactNative.restartPackager",
"title": "React Native: Restart Packager"
},
{
"command": "reactNative.publishToExpHost",
"title": "React Native: Publish to Exponent"
}
],
"debuggers": [
{
"type": "reactnative",
"label": "React Native",
"program": "./out/debugger/reactNativeDebugEntryPoint.js",
"runtime": "node",
"enableBreakpointsFor": {
"languageIds": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact"
]
},
"initialConfigurations": [
{
"name": "Debug Android",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "android",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
},
{
"name": "Debug iOS",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "ios",
"target": "iPhone 5s",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
},
{
"name": "Attach to packager",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "attach",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
},
{
"name": "Debug in Exponent",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "exponent",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
}
],
"configurationSnippets": [
{
"label": "React Native: Debug Android",
"description": "A new configuration for launching react-native app on android",
"body": {
"name": "Debug Android",
"program": "^\"\\${workspaceRoot}/.vscode/launchReactNative.js\"",
"type": "reactnative",
"request": "launch",
"platform": "android",
"sourceMaps": true,
"outDir": "^\"\\${workspaceRoot}/.vscode/.react\""
}
},
{
"label": "React Native: Debug iOS",
"description": "A new configuration for launching react-native app on iOS",
"body": {
"name": "Debug iOS",
"program": "^\"\\${workspaceRoot}/.vscode/launchReactNative.js\"",
"type": "reactnative",
"request": "launch",
"platform": "ios",
"sourceMaps": true,
"target": "iPhone 5s",
"outDir": "^\"\\${workspaceRoot}/.vscode/.react\""
}
},
{
"label": "React Native: Attach to packager",
"description": "A new configuration for attaching to packager",
"body": {
"name": "Attach to packager",
"program": "^\"\\${workspaceRoot}/.vscode/launchReactNative.js\"",
"type": "reactnative",
"request": "attach",
"sourceMaps": true,
"outDir": "^\"\\${workspaceRoot}/.vscode/.react\""
}
},
{
"label": "React Native: Debug in Exponent",
"description": "A new configuration for launching exponent app",
"body": {
"name": "Debug in Exponent",
"program": "^\"\\${workspaceRoot}/.vscode/launchReactNative.js\"",
"type": "reactnative",
"request": "launch",
"platform": "exponent",
"sourceMaps": true,
"outDir": "^\"\\${workspaceRoot}/.vscode/.react\""
}
}
],
"configurationAttributes": {
"attach": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "The path to launchReactNative.js in the vscode folder"
},
"sourceMaps": {
"type": "boolean",
"description": "Whether to use JavaScript source maps to map the generated bundled code back to its original sources",
"default": false
},
"outDir": {
"type": "string",
"description": "The location of the generated JavaScript code (the bundle file). Normally this should be \"${workspaceRoot}/.vscode/.react\"",
"default": null
}
}
},
"launch": {
"required": [
"program",
"platform"
],
"properties": {
"platform": {
"type": "string",
"description": "The platform ('ios' or 'android') to target"
},
"program": {
"type": "string",
"description": "The path to launchReactNative.js in the vscode folder"
},
"target": {
"type": "string",
"description": "'simulator', 'device', or the name of the emulator to run on"
},
"sourceMaps": {
"type": "boolean",
"description": "Whether to use JavaScript source maps to map the generated bundled code back to its original sources",
"default": false
},
"logCatArguments": {
"type": "array",
"description": "Arguments to be used for LogCat (The LogCat output will appear on an Output Channel). It can either be an array such as: [\":S\", \"ReactNative:V\", \"ReactNativeJS:V\"] or a string such as \":S ReactNative:V ReactNativeJS:V\"",
"default": [
"*:S",
"ReactNative:V",
"ReactNativeJS:V"
]
},
"outDir": {
"type": "string",
"description": "The location of the generated JavaScript code (the bundle file). Normally this should be \"${workspaceRoot}/.vscode/.react\"",
"default": null
},
"iosRelativeProjectPath": {
"type": "string",
"description": "Relative path to the ios/ folder, if it is not located on the project root.",
"default": "ios"
},
"variant": {
"type": "string",
"description": "A variant to be passed to react-native run-android, e.g. 'devDebug' to specify --variant=devDebug"
}
}
}
}
}
]
},
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"vscode:prepublish": "gulp",
"test": "node ./node_modules/vscode/bin/test",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"extract-opts": "2.2.0",
"flatten-source-map": "0.0.2",
"options": "0.0.6",
"q": "1.4.1",
"qr-image": "^3.2.0",
"semver": "5.1.0",
"strip-json-comments": "2.0.1",
"typechecker": "2.0.8",
"ultron": "1.0.2",
"vscode-extension-telemetry": "0.0.5",
"ws": "1.0.1"
},
"devDependencies": {
"@types/mocha": "^2.2.40",
"@types/mock-fs": "^3.6.30",
"@types/node": "^6.0.65",
"@types/shelljs": "^0.7.0",
"@types/source-map-support": "^0.2.28",
"@types/websocket": "0.0.33",
"@types/ws": "^0.0.39",
"del": "^2.2.0",
"gulp": "^3.9.1",
"gulp-mocha": "^2.2.0",
"gulp-preprocess": "^2.0.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-tslint": "^4.3.3",
"gulp-typescript": "^3.1.5",
"gulp-util": "^3.0.7",
"minimist": "^1.2.0",
"mocha": "^3.2.0",
"mocha-teamcity-reporter": "^1.0.0",
"mock-fs": "^3.8.0",
"run-sequence": "^1.1.5",
"should": "^8.3.0",
"sinon": "^1.17.3",
"source-map-support": "^0.4.0",
"through2": "^2.0.1",
"tslint": "^3.6.0",
"typescript": "^2.2.1",
"vsce": "^1.3.0",
"vscode": "^1.1.0"
},
"extensionDependencies": [
"ms-vscode.node-debug2"
]
}