microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
package.json
1520lines · modecode
| 1 | { |
| 2 | "name": "vscode-react-native", |
| 3 | "displayName": "React Native Tools", |
| 4 | "version": "1.13.1", |
| 5 | "private": true, |
| 6 | "publisher": "msjsdiag", |
| 7 | "icon": "resources/images/icon.png", |
| 8 | "galleryBanner": { |
| 9 | "color": "#3B3738", |
| 10 | "theme": "dark" |
| 11 | }, |
| 12 | "description": "%reactNative.description%", |
| 13 | "keywords": [ |
| 14 | "react-native", |
| 15 | "expo", |
| 16 | "multi-root ready" |
| 17 | ], |
| 18 | "bugs": "https://github.com/microsoft/vscode-react-native/issues", |
| 19 | "license": "%reactNative.license%", |
| 20 | "repository": { |
| 21 | "type": "git", |
| 22 | "url": "https://github.com/microsoft/vscode-react-native" |
| 23 | }, |
| 24 | "engines": { |
| 25 | "vscode": "^1.46.0" |
| 26 | }, |
| 27 | "categories": [ |
| 28 | "Debuggers", |
| 29 | "Other" |
| 30 | ], |
| 31 | "activationEvents": [ |
| 32 | "workspaceContains:node_modules/react-native", |
| 33 | "onDebugResolve:reactnative", |
| 34 | "onDebugResolve:reactnativedirect", |
| 35 | "onDebugDynamicConfigurations:reactnative", |
| 36 | "onDebugInitialConfigurations", |
| 37 | "onCommand:reactNative.runAndroidSimulator", |
| 38 | "onCommand:reactNative.runAndroidDevice", |
| 39 | "onCommand:reactNative.runIosSimulator", |
| 40 | "onCommand:reactNative.runIosDevice", |
| 41 | "onCommand:reactNative.runExponent", |
| 42 | "onCommand:reactNative.startPackager", |
| 43 | "onCommand:reactNative.stopPackager", |
| 44 | "onCommand:reactNative.restartPackager", |
| 45 | "onCommand:reactNative.publishToExpHost", |
| 46 | "onCommand:reactNative.showDevMenu", |
| 47 | "onCommand:reactNative.reloadApp", |
| 48 | "onCommand:reactNative.runInspector", |
| 49 | "onCommand:reactNative.testDevEnvironment" |
| 50 | ], |
| 51 | "main": "./src/extension/rn-extension", |
| 52 | "contributes": { |
| 53 | "walkthroughs": [ |
| 54 | { |
| 55 | "id": "RNTGetStarted", |
| 56 | "title": "Get started with React Native development", |
| 57 | "description": "Your first steps to set up the environment for React Native development and explore the extension functionality", |
| 58 | "steps": [ |
| 59 | { |
| 60 | "id": "settingUpCommonEnvironment", |
| 61 | "title": "Set up RN development environment", |
| 62 | "description": "To develop React Native applications in the React Native Tools extension, you need to set up your development environment in accordance with the requirements of React Native.\n[Learn more](https://reactnative.dev/docs/environment-setup)", |
| 63 | "media": { |
| 64 | "markdown": "resources/walkthougths/setup-env-common.md" |
| 65 | } |
| 66 | }, |
| 67 | { |
| 68 | "id": "settingUpExpoEnvironment", |
| 69 | "title": "Prepare for Expo development", |
| 70 | "description": "The extension provides functionality for developing Expo applications. To get started, you need to set up the development environment in accordance with the extension requirements.\n[Learn more](https://github.com/microsoft/vscode-react-native#expo-applications)", |
| 71 | "media": { |
| 72 | "markdown": "resources/walkthougths/setup-env-expo.md" |
| 73 | } |
| 74 | }, |
| 75 | { |
| 76 | "id": "settingUpWindowsEnvironment", |
| 77 | "title": "Prepare for React Native for Windows", |
| 78 | "description": "To develop React Native for Windows applications, you need to set up your dev environment in accordance with the [official requirements](https://microsoft.github.io/react-native-windows/docs/rnw-dependencies).", |
| 79 | "when": "isWindows", |
| 80 | "media": { |
| 81 | "image": "resources/images/rnw-set-up.png", |
| 82 | "altText": "React Native for Windows app view" |
| 83 | } |
| 84 | }, |
| 85 | { |
| 86 | "id": "settingUpMacOsEnvironment", |
| 87 | "title": "Prepare for React Native for macOS", |
| 88 | "description": "To develop React Native for macOS applications, you need to set up your dev environment in accordance with the [official requirements](https://microsoft.github.io/react-native-windows/docs/rnm-dependencies).", |
| 89 | "when": "isMac", |
| 90 | "media": { |
| 91 | "image": "resources/images/rnm-set-up.png", |
| 92 | "altText": "React Native for macOS app view" |
| 93 | } |
| 94 | }, |
| 95 | { |
| 96 | "id": "hermesEngine", |
| 97 | "title": "Hermes Engine", |
| 98 | "description": "The Hermes engine is an open source JavaScript engine created by Facebook to optimize building and running React Native applications. It improves app performance and decreases app size.\n[Learn more](https://github.com/microsoft/vscode-react-native#hermes-engine)", |
| 99 | "media": { |
| 100 | "image": "resources/images/hermeslogo.svg", |
| 101 | "altText": "Hermes logo" |
| 102 | } |
| 103 | }, |
| 104 | { |
| 105 | "id": "runAndDebugReactNativeApp", |
| 106 | "title": "Run and Debug your React Native application", |
| 107 | "description": "Create a debug configuration and start debugging your React Native application.\n[Learn more](https://github.com/microsoft/vscode-react-native#debugging-react-native-applications)", |
| 108 | "media": { |
| 109 | "markdown": "resources/walkthougths/debug-tutor.md" |
| 110 | } |
| 111 | }, |
| 112 | { |
| 113 | "id": "exploreExtensionFeatures", |
| 114 | "title": "Explore extension features", |
| 115 | "description": "The extension provides useful features to facilitate the development of React Native applications.\n[Learn more](https://github.com/microsoft/vscode-react-native#customization)", |
| 116 | "media": { |
| 117 | "markdown": "resources/walkthougths/features-tutor.md" |
| 118 | } |
| 119 | } |
| 120 | ] |
| 121 | } |
| 122 | ], |
| 123 | "commands": [ |
| 124 | { |
| 125 | "command": "reactNative.launchAndroidSimulator", |
| 126 | "title": "%reactNative.command.launchAndroidSimulator.title%", |
| 127 | "category": "React Native", |
| 128 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 129 | }, |
| 130 | { |
| 131 | "command": "reactNative.launchIOSSimulator", |
| 132 | "title": "%reactNative.command.launchIOSSimulator.title%", |
| 133 | "category": "React Native", |
| 134 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 135 | }, |
| 136 | { |
| 137 | "command": "reactNative.launchExpoWeb", |
| 138 | "title": "%reactNative.command.launchExpoWeb.title%", |
| 139 | "category": "React Native", |
| 140 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 141 | }, |
| 142 | { |
| 143 | "command": "reactNative.runAndroidSimulator", |
| 144 | "title": "%reactNative.command.runAndroidSimulator.title%", |
| 145 | "category": "React Native", |
| 146 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 147 | }, |
| 148 | { |
| 149 | "command": "reactNative.runAndroidDevice", |
| 150 | "title": "%reactNative.command.runAndroidDevice.title%", |
| 151 | "category": "React Native", |
| 152 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 153 | }, |
| 154 | { |
| 155 | "command": "reactNative.runIosSimulator", |
| 156 | "title": "%reactNative.command.runIosSimulator.title%", |
| 157 | "category": "React Native", |
| 158 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 159 | }, |
| 160 | { |
| 161 | "command": "reactNative.runIosDevice", |
| 162 | "title": "%reactNative.command.runIosDevice.title%", |
| 163 | "category": "React Native", |
| 164 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 165 | }, |
| 166 | { |
| 167 | "command": "reactNative.runExponent", |
| 168 | "title": "%reactNative.command.runExponent.title%", |
| 169 | "category": "React Native", |
| 170 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 171 | }, |
| 172 | { |
| 173 | "command": "reactNative.runWindows", |
| 174 | "title": "%reactNative.command.runWindows.title%", |
| 175 | "category": "React Native", |
| 176 | "enablement": "!config.security.workspace.trust.enabled && isRNWindowsProject || isWorkspaceTrusted && isRNWindowsProject" |
| 177 | }, |
| 178 | { |
| 179 | "command": "reactNative.runMacOS", |
| 180 | "title": "%reactNative.command.runMacOS.title%", |
| 181 | "category": "React Native", |
| 182 | "enablement": "!config.security.workspace.trust.enabled && isRNMacOSProject || isWorkspaceTrusted && isRNMacOSProject" |
| 183 | }, |
| 184 | { |
| 185 | "command": "reactNative.startPackager", |
| 186 | "title": "%reactNative.command.startPackager.title%", |
| 187 | "category": "React Native", |
| 188 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 189 | }, |
| 190 | { |
| 191 | "command": "reactNative.stopPackager", |
| 192 | "title": "%reactNative.command.stopPackager.title%", |
| 193 | "category": "React Native", |
| 194 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 195 | }, |
| 196 | { |
| 197 | "command": "reactNative.restartPackager", |
| 198 | "title": "%reactNative.command.restartPackager.title%", |
| 199 | "category": "React Native", |
| 200 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 201 | }, |
| 202 | { |
| 203 | "command": "reactNative.publishToExpHost", |
| 204 | "title": "%reactNative.command.publishToExpHost.title%", |
| 205 | "category": "React Native", |
| 206 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 207 | }, |
| 208 | { |
| 209 | "command": "reactNative.createExpoEASBuildConfigFile", |
| 210 | "title": "%reactNative.command.createExpoEASBuildConfigFile.title%", |
| 211 | "category": "React Native", |
| 212 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 213 | }, |
| 214 | { |
| 215 | "command": "reactNative.openEASProjectInWebPage", |
| 216 | "title": "%reactNative.command.openEASProjectInWebPage.title%", |
| 217 | "category": "React Native", |
| 218 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 219 | }, |
| 220 | { |
| 221 | "command": "reactNative.revertOpenModule", |
| 222 | "title": "%reactNative.command.revertOpenModule.title%", |
| 223 | "category": "React Native", |
| 224 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 225 | }, |
| 226 | { |
| 227 | "command": "reactNative.openRNUpgradeHelper", |
| 228 | "title": "%reactNative.command.openRNUpgradeHelper.title%", |
| 229 | "category": "React Native" |
| 230 | }, |
| 231 | { |
| 232 | "command": "reactNative.installExpoGoApplication", |
| 233 | "title": "%reactNative.command.installExpoGoApplication.title%", |
| 234 | "category": "React Native" |
| 235 | }, |
| 236 | { |
| 237 | "command": "reactNative.showDevMenu", |
| 238 | "title": "%reactNative.command.showDevMenu.title%", |
| 239 | "category": "React Native" |
| 240 | }, |
| 241 | { |
| 242 | "command": "reactNative.reloadApp", |
| 243 | "title": "%reactNative.command.reloadApp.title%", |
| 244 | "category": "React Native" |
| 245 | }, |
| 246 | { |
| 247 | "command": "reactNative.runInspector", |
| 248 | "title": "%reactNative.command.runInspector.title%", |
| 249 | "category": "React Native" |
| 250 | }, |
| 251 | { |
| 252 | "command": "reactNative.stopInspector", |
| 253 | "title": "%reactNative.command.stopInspector.title%", |
| 254 | "category": "React Native", |
| 255 | "enablement": "false" |
| 256 | }, |
| 257 | { |
| 258 | "command": "reactNative.startLogCatMonitor", |
| 259 | "title": "%reactNative.command.startLogCatMonitor.title%", |
| 260 | "category": "React Native" |
| 261 | }, |
| 262 | { |
| 263 | "command": "reactNative.stopLogCatMonitor", |
| 264 | "title": "%reactNative.command.stopLogCatMonitor.title%", |
| 265 | "category": "React Native" |
| 266 | }, |
| 267 | { |
| 268 | "command": "reactNative.selectAndInsertDebugConfiguration", |
| 269 | "title": "%reactNative.command.selectAndInsertDebugConfiguration.title%", |
| 270 | "category": "React Native" |
| 271 | }, |
| 272 | { |
| 273 | "command": "reactNative.startNetworkInspector", |
| 274 | "title": "%reactNative.command.startNetworkInspector.title%", |
| 275 | "category": "React Native" |
| 276 | }, |
| 277 | { |
| 278 | "command": "reactNative.stopNetworkInspector", |
| 279 | "title": "%reactNative.command.stopNetworkInspector.title%", |
| 280 | "category": "React Native" |
| 281 | }, |
| 282 | { |
| 283 | "command": "reactNative.testDevEnvironment", |
| 284 | "title": "%reactNative.command.testDevEnvironment.title%", |
| 285 | "category": "React Native" |
| 286 | }, |
| 287 | { |
| 288 | "command": "reactNative.debugScenario.attachHermesApplicationExperimental", |
| 289 | "title": "Attach to Hermes application - Experimental", |
| 290 | "category": "React Native", |
| 291 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 292 | "icon": "$(debug-alt)" |
| 293 | }, |
| 294 | { |
| 295 | "command": "reactNative.debugScenario.attachDirectIosExperimental", |
| 296 | "title": "Attach to Direct iOS - Experimental", |
| 297 | "category": "React Native", |
| 298 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 299 | "icon": "$(debug-alt)" |
| 300 | }, |
| 301 | { |
| 302 | "command": "reactNative.debugScenario.attachToPackager", |
| 303 | "title": "Attach to packager", |
| 304 | "category": "React Native", |
| 305 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 306 | "icon": "$(debug-alt)" |
| 307 | }, |
| 308 | { |
| 309 | "command": "reactNative.debugScenario.debugAndroid", |
| 310 | "title": "Debug Android", |
| 311 | "category": "React Native", |
| 312 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 313 | "icon": "$(debug-alt)" |
| 314 | }, |
| 315 | { |
| 316 | "command": "reactNative.debugScenario.debugIos", |
| 317 | "title": "Debug iOS", |
| 318 | "category": "React Native", |
| 319 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 320 | "icon": "$(debug-alt)" |
| 321 | }, |
| 322 | { |
| 323 | "command": "reactNative.debugScenario.debugWindows", |
| 324 | "title": "Debug Windows", |
| 325 | "category": "React Native", |
| 326 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 327 | "icon": "$(debug-alt)" |
| 328 | }, |
| 329 | { |
| 330 | "command": "reactNative.debugScenario.debugMacos", |
| 331 | "title": "Debug macOS", |
| 332 | "category": "React Native", |
| 333 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 334 | "icon": "$(debug-alt)" |
| 335 | }, |
| 336 | { |
| 337 | "command": "reactNative.debugScenario.debugInExponent", |
| 338 | "title": "Debug in Exponent", |
| 339 | "category": "React Native", |
| 340 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 341 | "icon": "$(debug-alt)" |
| 342 | }, |
| 343 | { |
| 344 | "command": "reactNative.debugScenario.debugInHermesExponentExperimental", |
| 345 | "title": "Debug in Hermes Exponent", |
| 346 | "category": "React Native", |
| 347 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 348 | "icon": "$(debug-alt)" |
| 349 | }, |
| 350 | { |
| 351 | "command": "reactNative.debugScenario.debugInExponentWebExperimental", |
| 352 | "title": "Debug in Exponent Web - Experimental", |
| 353 | "category": "React Native", |
| 354 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 355 | "icon": "$(debug-alt)" |
| 356 | }, |
| 357 | { |
| 358 | "command": "reactNative.debugScenario.debugAndroidHermesExperimental", |
| 359 | "title": "Debug Android Hermes - Experimental", |
| 360 | "category": "React Native", |
| 361 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 362 | "icon": "$(debug-alt)" |
| 363 | }, |
| 364 | { |
| 365 | "command": "reactNative.debugScenario.debugDirectIosExperimental", |
| 366 | "title": "Debug Direct iOS - Experimental", |
| 367 | "category": "React Native", |
| 368 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 369 | "icon": "$(debug-alt)" |
| 370 | }, |
| 371 | { |
| 372 | "command": "reactNative.debugScenario.debugIosHermesExperimental", |
| 373 | "title": "Debug iOS Hermes - Experimental", |
| 374 | "category": "React Native", |
| 375 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 376 | "icon": "$(debug-alt)" |
| 377 | }, |
| 378 | { |
| 379 | "command": "reactNative.debugScenario.debugMacosHermesExperimental", |
| 380 | "title": "Debug macOS Hermes - Experimental", |
| 381 | "category": "React Native", |
| 382 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 383 | "icon": "$(debug-alt)" |
| 384 | }, |
| 385 | { |
| 386 | "command": "reactNative.debugScenario.debugWindowsHermesExperimental", |
| 387 | "title": "Debug Windows Hermes - Experimental", |
| 388 | "category": "React Native", |
| 389 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 390 | "icon": "$(debug-alt)" |
| 391 | }, |
| 392 | { |
| 393 | "command": "reactNative.debugScenario.runAndroid", |
| 394 | "title": "Run Android", |
| 395 | "category": "React Native", |
| 396 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 397 | "icon": "$(play)" |
| 398 | }, |
| 399 | { |
| 400 | "command": "reactNative.debugScenario.runIos", |
| 401 | "title": "Run iOS", |
| 402 | "category": "React Native", |
| 403 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 404 | "icon": "$(play)" |
| 405 | }, |
| 406 | { |
| 407 | "command": "reactNative.debugScenario.runAndroidHermesExperimental", |
| 408 | "title": "Run Android Hermes - Experimental", |
| 409 | "category": "React Native", |
| 410 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 411 | "icon": "$(play)" |
| 412 | }, |
| 413 | { |
| 414 | "command": "reactNative.debugScenario.runIosHermesExperimental", |
| 415 | "title": "Run iOS Hermes - Experimental", |
| 416 | "category": "React Native", |
| 417 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 418 | "icon": "$(play)" |
| 419 | }, |
| 420 | { |
| 421 | "command": "reactNative.debugScenario.runDirectIosExperimental", |
| 422 | "title": "Run Direct iOS - Experimental", |
| 423 | "category": "React Native", |
| 424 | "enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode", |
| 425 | "icon": "$(play)" |
| 426 | }, |
| 427 | { |
| 428 | "command": "reactNative.doctor", |
| 429 | "title": "Run Doctor", |
| 430 | "category": "React Native", |
| 431 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 432 | }, |
| 433 | { |
| 434 | "command": "reactNative.ExpoDoctor", |
| 435 | "title": "Expo Run Doctor", |
| 436 | "category": "React Native", |
| 437 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 438 | }, |
| 439 | { |
| 440 | "command": "reactNative.expoPrebuild", |
| 441 | "title": "Expo Prebuild", |
| 442 | "category": "React Native", |
| 443 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 444 | }, |
| 445 | { |
| 446 | "command": "reactNative.expoPrebuildClean", |
| 447 | "title": "Expo Prebuild Clean", |
| 448 | "category": "React Native", |
| 449 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 450 | }, |
| 451 | { |
| 452 | "command": "reactNative.reopenQRCode", |
| 453 | "title": "Reopen QR Code in Expo", |
| 454 | "category": "React Native", |
| 455 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 456 | }, |
| 457 | { |
| 458 | "command": "reactNative.hermesEnable", |
| 459 | "title": "Enable Hermes", |
| 460 | "category": "React Native", |
| 461 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 462 | }, |
| 463 | { |
| 464 | "command": "reactNative.expoHermesEnable", |
| 465 | "title": "Enable & Disable Expo Hermes", |
| 466 | "category": "React Native", |
| 467 | "enablement": "!config.security.workspace.trust.enabled || isWorkspaceTrusted" |
| 468 | } |
| 469 | ], |
| 470 | "menus": { |
| 471 | "editor/title/run": [ |
| 472 | { |
| 473 | "command": "reactNative.debugScenario.attachHermesApplicationExperimental", |
| 474 | "when": "isRNProject && isRNHermesProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 475 | }, |
| 476 | { |
| 477 | "command": "reactNative.debugScenario.attachDirectIosExperimental", |
| 478 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 479 | }, |
| 480 | { |
| 481 | "command": "reactNative.debugScenario.attachToPackager", |
| 482 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 483 | }, |
| 484 | { |
| 485 | "command": "reactNative.debugScenario.debugAndroid", |
| 486 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 487 | }, |
| 488 | { |
| 489 | "command": "reactNative.debugScenario.debugIos", |
| 490 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 491 | }, |
| 492 | { |
| 493 | "command": "reactNative.debugScenario.debugWindows", |
| 494 | "when": "isRNProject && isRNWindowsProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 495 | }, |
| 496 | { |
| 497 | "command": "reactNative.debugScenario.debugMacos", |
| 498 | "when": "isRNProject && isRNMacOSProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 499 | }, |
| 500 | { |
| 501 | "command": "reactNative.debugScenario.debugInExponent", |
| 502 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 503 | }, |
| 504 | { |
| 505 | "command": "reactNative.debugScenario.debugInHermesExponentExperimental", |
| 506 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 507 | }, |
| 508 | { |
| 509 | "command": "reactNative.debugScenario.debugInExponentWebExperimental", |
| 510 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 511 | }, |
| 512 | { |
| 513 | "command": "reactNative.debugScenario.debugAndroidHermesExperimental", |
| 514 | "when": "isRNProject && isRNAndroidHermesProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 515 | }, |
| 516 | { |
| 517 | "command": "reactNative.debugScenario.debugDirectIosExperimental", |
| 518 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 519 | }, |
| 520 | { |
| 521 | "command": "reactNative.debugScenario.debugIosHermesExperimental", |
| 522 | "when": "isRNProject && isRNIosHermesProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 523 | }, |
| 524 | { |
| 525 | "command": "reactNative.debugScenario.debugMacosHermesExperimental", |
| 526 | "when": "isRNProject && isRNMacosHermesProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 527 | }, |
| 528 | { |
| 529 | "command": "reactNative.debugScenario.debugWindowsHermesExperimental", |
| 530 | "when": "isRNProject && isRNWindowsHermesProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 531 | }, |
| 532 | { |
| 533 | "command": "reactNative.debugScenario.runAndroid", |
| 534 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 535 | }, |
| 536 | { |
| 537 | "command": "reactNative.debugScenario.runIos", |
| 538 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 539 | }, |
| 540 | { |
| 541 | "command": "reactNative.debugScenario.runAndroidHermesExperimental", |
| 542 | "when": "isRNProject && isRNAndroidHermesProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 543 | }, |
| 544 | { |
| 545 | "command": "reactNative.debugScenario.runIosHermesExperimental", |
| 546 | "when": "isRNProject && isRNIosHermesProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 547 | }, |
| 548 | { |
| 549 | "command": "reactNative.debugScenario.runDirectIosExperimental", |
| 550 | "when": "isRNProject && config.react-native-tools.displayDebuggingCommandsButton" |
| 551 | } |
| 552 | ], |
| 553 | "commandPalette": [ |
| 554 | { |
| 555 | "command": "reactNative.selectAndInsertDebugConfiguration", |
| 556 | "when": "false" |
| 557 | }, |
| 558 | { |
| 559 | "command": "reactNative.debugScenario.attachHermesApplicationExperimental", |
| 560 | "when": "false" |
| 561 | }, |
| 562 | { |
| 563 | "command": "reactNative.debugScenario.attachDirectIosExperimental", |
| 564 | "when": "false" |
| 565 | }, |
| 566 | { |
| 567 | "command": "reactNative.debugScenario.attachToPackager", |
| 568 | "when": "false" |
| 569 | }, |
| 570 | { |
| 571 | "command": "reactNative.debugScenario.debugAndroid", |
| 572 | "when": "false" |
| 573 | }, |
| 574 | { |
| 575 | "command": "reactNative.debugScenario.debugIos", |
| 576 | "when": "false" |
| 577 | }, |
| 578 | { |
| 579 | "command": "reactNative.debugScenario.debugWindows", |
| 580 | "when": "false" |
| 581 | }, |
| 582 | { |
| 583 | "command": "reactNative.debugScenario.debugMacos", |
| 584 | "when": "false" |
| 585 | }, |
| 586 | { |
| 587 | "command": "reactNative.debugScenario.debugInExponent", |
| 588 | "when": "false" |
| 589 | }, |
| 590 | { |
| 591 | "command": "reactNative.debugScenario.debugInHermesExponentExperimental", |
| 592 | "when": "false" |
| 593 | }, |
| 594 | { |
| 595 | "command": "reactNative.debugScenario.debugInExponentWebExperimental", |
| 596 | "when": "false" |
| 597 | }, |
| 598 | { |
| 599 | "command": "reactNative.debugScenario.debugAndroidHermesExperimental", |
| 600 | "when": "false" |
| 601 | }, |
| 602 | { |
| 603 | "command": "reactNative.debugScenario.debugDirectIosExperimental", |
| 604 | "when": "false" |
| 605 | }, |
| 606 | { |
| 607 | "command": "reactNative.debugScenario.debugIosHermesExperimental", |
| 608 | "when": "false" |
| 609 | }, |
| 610 | { |
| 611 | "command": "reactNative.debugScenario.debugMacosHermesExperimental", |
| 612 | "when": "false" |
| 613 | }, |
| 614 | { |
| 615 | "command": "reactNative.debugScenario.debugWindowsHermesExperimental", |
| 616 | "when": "false" |
| 617 | }, |
| 618 | { |
| 619 | "command": "reactNative.debugScenario.runAndroid", |
| 620 | "when": "false" |
| 621 | }, |
| 622 | { |
| 623 | "command": "reactNative.debugScenario.runIos", |
| 624 | "when": "false" |
| 625 | }, |
| 626 | { |
| 627 | "command": "reactNative.debugScenario.runAndroidHermesExperimental", |
| 628 | "when": "false" |
| 629 | }, |
| 630 | { |
| 631 | "command": "reactNative.debugScenario.runIosHermesExperimental", |
| 632 | "when": "false" |
| 633 | }, |
| 634 | { |
| 635 | "command": "reactNative.debugScenario.runDirectIosExperimental", |
| 636 | "when": "false" |
| 637 | } |
| 638 | ] |
| 639 | }, |
| 640 | "breakpoints": [ |
| 641 | { |
| 642 | "language": "javascript" |
| 643 | }, |
| 644 | { |
| 645 | "language": "typescript" |
| 646 | }, |
| 647 | { |
| 648 | "language": "javascriptreact" |
| 649 | }, |
| 650 | { |
| 651 | "language": "typescriptreact" |
| 652 | } |
| 653 | ], |
| 654 | "debuggers": [ |
| 655 | { |
| 656 | "type": "reactnative", |
| 657 | "label": "React Native", |
| 658 | "runtime": "node", |
| 659 | "configurationSnippets": [], |
| 660 | "configurationAttributes": { |
| 661 | "attach": { |
| 662 | "required": [ |
| 663 | "cwd" |
| 664 | ], |
| 665 | "properties": { |
| 666 | "program": { |
| 667 | "type": "string", |
| 668 | "description": "%reactNative.attach.program.description%" |
| 669 | }, |
| 670 | "env": { |
| 671 | "type": "object", |
| 672 | "additionalProperties": { |
| 673 | "type": "string" |
| 674 | }, |
| 675 | "description": "%reactNative.attach.env.description%", |
| 676 | "default": {} |
| 677 | }, |
| 678 | "envFile": { |
| 679 | "type": "string", |
| 680 | "description": "%reactNative.attach.envFile.description%", |
| 681 | "default": "${workspaceFolder}/.env" |
| 682 | }, |
| 683 | "cwd": { |
| 684 | "type": "string", |
| 685 | "description": "%reactNative.attach.cwd.description%", |
| 686 | "default": "${workspaceFolder}" |
| 687 | }, |
| 688 | "sourceMaps": { |
| 689 | "type": "boolean", |
| 690 | "description": "%reactNative.attach.sourceMaps.description%", |
| 691 | "default": false |
| 692 | }, |
| 693 | "sourceMapPathOverrides": { |
| 694 | "type": "object", |
| 695 | "description": "%reactNative.attach.sourceMapsPathOverrides.description%" |
| 696 | }, |
| 697 | "sourceMapRenames": { |
| 698 | "type": "boolean", |
| 699 | "description": "%reactNative.attach.sourceMapRenames.description%", |
| 700 | "default": false |
| 701 | }, |
| 702 | "trace": { |
| 703 | "type": "string", |
| 704 | "enum": [ |
| 705 | "verbose", |
| 706 | "log", |
| 707 | "warn", |
| 708 | "error", |
| 709 | "stop" |
| 710 | ], |
| 711 | "default": "log", |
| 712 | "description": "%reactNative.attach.trace.description%" |
| 713 | }, |
| 714 | "address": { |
| 715 | "type": "string", |
| 716 | "description": "%reactNative.attach.address.description%", |
| 717 | "default": "localhost" |
| 718 | }, |
| 719 | "port": { |
| 720 | "type": "number", |
| 721 | "description": "%reactNative.attach.port.description%", |
| 722 | "default": 8081 |
| 723 | }, |
| 724 | "remoteRoot": { |
| 725 | "type": "string", |
| 726 | "description": "%reactNative.attach.remoteRoot.description%", |
| 727 | "default": null |
| 728 | }, |
| 729 | "localRoot": { |
| 730 | "type": "string", |
| 731 | "description": "%reactNative.attach.localRoot.description%", |
| 732 | "default": "${workspaceFolder}" |
| 733 | }, |
| 734 | "skipFiles": { |
| 735 | "type": "array", |
| 736 | "description": "%reactNative.attach.skipFiles.description%", |
| 737 | "items": { |
| 738 | "type": "string" |
| 739 | }, |
| 740 | "default": [] |
| 741 | }, |
| 742 | "debuggerWorkerUrlPath": { |
| 743 | "type": "string", |
| 744 | "description": "%reactNative.attach.debuggerWorkerUrlPath.description%", |
| 745 | "default": "debugger-ui/" |
| 746 | } |
| 747 | } |
| 748 | }, |
| 749 | "launch": { |
| 750 | "required": [ |
| 751 | "cwd", |
| 752 | "platform" |
| 753 | ], |
| 754 | "properties": { |
| 755 | "platform": { |
| 756 | "type": "string", |
| 757 | "enum": [ |
| 758 | "ios", |
| 759 | "android", |
| 760 | "exponent", |
| 761 | "windows", |
| 762 | "macos", |
| 763 | "expoweb" |
| 764 | ], |
| 765 | "description": "%reactNative.launch.platform.description%" |
| 766 | }, |
| 767 | "program": { |
| 768 | "type": "string", |
| 769 | "description": "%reactNative.launch.program.description%" |
| 770 | }, |
| 771 | "cwd": { |
| 772 | "type": "string", |
| 773 | "description": "%reactNative.launch.cwd.description%", |
| 774 | "default": "${workspaceFolder}" |
| 775 | }, |
| 776 | "target": { |
| 777 | "anyOf": [ |
| 778 | { |
| 779 | "type": "string", |
| 780 | "enum": [ |
| 781 | "device", |
| 782 | "simulator" |
| 783 | ] |
| 784 | }, |
| 785 | { |
| 786 | "type": "string" |
| 787 | } |
| 788 | ], |
| 789 | "default": "simulator", |
| 790 | "description": "%reactNative.launch.target.description%" |
| 791 | }, |
| 792 | "sourceMaps": { |
| 793 | "type": "boolean", |
| 794 | "description": "%reactNative.launch.sourceMaps.description%", |
| 795 | "default": false |
| 796 | }, |
| 797 | "sourceMapPathOverrides": { |
| 798 | "type": "object", |
| 799 | "description": "%reactNative.launch.sourceMapsPathOverrides.description%" |
| 800 | }, |
| 801 | "sourceMapRenames": { |
| 802 | "type": "boolean", |
| 803 | "description": "%reactNative.attach.sourceMapRenames.description%", |
| 804 | "default": false |
| 805 | }, |
| 806 | "logCatArguments": { |
| 807 | "type": "array", |
| 808 | "description": "%reactNative.launch.logCatArguments.description%", |
| 809 | "default": [ |
| 810 | "*:S", |
| 811 | "ReactNative:V", |
| 812 | "ReactNativeJS:V" |
| 813 | ] |
| 814 | }, |
| 815 | "runArguments": { |
| 816 | "type": "array", |
| 817 | "description": "%reactNative.launch.runArguments.description%" |
| 818 | }, |
| 819 | "env": { |
| 820 | "type": "object", |
| 821 | "additionalProperties": { |
| 822 | "type": "string" |
| 823 | }, |
| 824 | "description": "%reactNative.launch.env.description%", |
| 825 | "default": {} |
| 826 | }, |
| 827 | "envFile": { |
| 828 | "type": "string", |
| 829 | "description": "%reactNative.launch.envFile.description%", |
| 830 | "default": "${workspaceFolder}/.env" |
| 831 | }, |
| 832 | "variant": { |
| 833 | "type": "string", |
| 834 | "description": "%reactNative.launch.variant.description%" |
| 835 | }, |
| 836 | "scheme": { |
| 837 | "type": "string", |
| 838 | "description": "%reactNative.launch.scheme.description%" |
| 839 | }, |
| 840 | "productName": { |
| 841 | "type": "string", |
| 842 | "description": "%reactNative.launch.productName.description%" |
| 843 | }, |
| 844 | "skipFiles": { |
| 845 | "type": "array", |
| 846 | "description": "%reactNative.launch.skipFiles.description%", |
| 847 | "items": { |
| 848 | "type": "string" |
| 849 | }, |
| 850 | "default": [] |
| 851 | }, |
| 852 | "trace": { |
| 853 | "type": "string", |
| 854 | "enum": [ |
| 855 | "verbose", |
| 856 | "log", |
| 857 | "warn", |
| 858 | "error", |
| 859 | "stop" |
| 860 | ], |
| 861 | "default": "log", |
| 862 | "description": "%reactNative.launch.trace.description%" |
| 863 | }, |
| 864 | "debuggerWorkerUrlPath": { |
| 865 | "type": "string", |
| 866 | "description": "%reactNative.launch.debuggerWorkerUrlPath.description%", |
| 867 | "default": "debugger-ui/" |
| 868 | }, |
| 869 | "launchActivity": { |
| 870 | "type": "string", |
| 871 | "description": "%reactNative.launch.launchActivity.description%", |
| 872 | "default": "MainActivity" |
| 873 | }, |
| 874 | "expoHostType": { |
| 875 | "type": "string", |
| 876 | "enum": [ |
| 877 | "tunnel", |
| 878 | "lan", |
| 879 | "local" |
| 880 | ], |
| 881 | "default": "lan", |
| 882 | "description": "%reactNative.launch.expoHostType.description%" |
| 883 | }, |
| 884 | "jsDebugTrace": { |
| 885 | "type": "boolean", |
| 886 | "description": "%reactNative.direct.attach.jsDebugTrace.description%" |
| 887 | }, |
| 888 | "browserTarget": { |
| 889 | "type": "string", |
| 890 | "description": "%reactNative.direct.attach.browserTarget.description%" |
| 891 | }, |
| 892 | "url": { |
| 893 | "type": "string", |
| 894 | "description": "%reactNative.direct.attach.url.description%" |
| 895 | }, |
| 896 | "enableDebug": { |
| 897 | "type": "boolean", |
| 898 | "description": "%reactNative.launch.enableDebug.description%", |
| 899 | "default": true |
| 900 | }, |
| 901 | "openExpoQR": { |
| 902 | "type": "boolean", |
| 903 | "description": "%reactNative.launch.openExpoQR.description%", |
| 904 | "default": true |
| 905 | } |
| 906 | } |
| 907 | } |
| 908 | } |
| 909 | }, |
| 910 | { |
| 911 | "type": "reactnativedirect", |
| 912 | "label": "React Native Direct - Experimental", |
| 913 | "runtime": "node", |
| 914 | "configurationSnippets": [], |
| 915 | "configurationAttributes": { |
| 916 | "attach": { |
| 917 | "required": [ |
| 918 | "cwd" |
| 919 | ], |
| 920 | "properties": { |
| 921 | "cwd": { |
| 922 | "type": "string", |
| 923 | "description": "%reactNative.attach.cwd.description%", |
| 924 | "default": "${workspaceFolder}" |
| 925 | }, |
| 926 | "env": { |
| 927 | "type": "object", |
| 928 | "additionalProperties": { |
| 929 | "type": "string" |
| 930 | }, |
| 931 | "description": "%reactNative.attach.env.description%", |
| 932 | "default": {} |
| 933 | }, |
| 934 | "envFile": { |
| 935 | "type": "string", |
| 936 | "description": "%reactNative.attach.envFile.description%", |
| 937 | "default": "${workspaceFolder}/.env" |
| 938 | }, |
| 939 | "useHermesEngine": { |
| 940 | "type": "boolean", |
| 941 | "description": "%reactNative.direct.attach.useHermesEngine.description%", |
| 942 | "default": true |
| 943 | }, |
| 944 | "sourceMaps": { |
| 945 | "type": "boolean", |
| 946 | "description": "%reactNative.attach.sourceMaps.description%", |
| 947 | "default": false |
| 948 | }, |
| 949 | "sourceMapPathOverrides": { |
| 950 | "type": "object", |
| 951 | "description": "%reactNative.attach.sourceMapsPathOverrides.description%" |
| 952 | }, |
| 953 | "jsDebugTrace": { |
| 954 | "type": "boolean", |
| 955 | "description": "%reactNative.direct.attach.jsDebugTrace.description%" |
| 956 | }, |
| 957 | "browserTarget": { |
| 958 | "type": "string", |
| 959 | "description": "%reactNative.direct.attach.browserTarget.description%" |
| 960 | }, |
| 961 | "sourceMapRenames": { |
| 962 | "type": "boolean", |
| 963 | "description": "%reactNative.attach.sourceMapRenames.description%", |
| 964 | "default": false |
| 965 | }, |
| 966 | "platform": { |
| 967 | "type": "string", |
| 968 | "enum": [ |
| 969 | "ios", |
| 970 | "android", |
| 971 | "macos", |
| 972 | "windows" |
| 973 | ], |
| 974 | "description": "%reactNative.launch.direct.platform.description%" |
| 975 | }, |
| 976 | "trace": { |
| 977 | "type": "string", |
| 978 | "enum": [ |
| 979 | "verbose", |
| 980 | "log", |
| 981 | "warn", |
| 982 | "error", |
| 983 | "stop" |
| 984 | ], |
| 985 | "default": "log", |
| 986 | "description": "%reactNative.attach.trace.description%" |
| 987 | }, |
| 988 | "address": { |
| 989 | "type": "string", |
| 990 | "description": "%reactNative.attach.address.description%", |
| 991 | "default": "localhost" |
| 992 | }, |
| 993 | "port": { |
| 994 | "type": "number", |
| 995 | "description": "%reactNative.direct.attach.port.description%", |
| 996 | "default": 8081 |
| 997 | }, |
| 998 | "webkitRangeMin": { |
| 999 | "type": "number", |
| 1000 | "description": "%reactNative.direct.attach.webkitRangeMin.description%", |
| 1001 | "default": 9223 |
| 1002 | }, |
| 1003 | "webkitRangeMax": { |
| 1004 | "type": "number", |
| 1005 | "description": "%reactNative.direct.attach.webkitRangeMax.description%", |
| 1006 | "default": 9322 |
| 1007 | }, |
| 1008 | "skipFiles": { |
| 1009 | "type": "array", |
| 1010 | "description": "%reactNative.attach.skipFiles.description%", |
| 1011 | "items": { |
| 1012 | "type": "string" |
| 1013 | }, |
| 1014 | "default": [] |
| 1015 | } |
| 1016 | } |
| 1017 | }, |
| 1018 | "launch": { |
| 1019 | "required": [ |
| 1020 | "cwd", |
| 1021 | "platform" |
| 1022 | ], |
| 1023 | "properties": { |
| 1024 | "platform": { |
| 1025 | "type": "string", |
| 1026 | "enum": [ |
| 1027 | "android", |
| 1028 | "ios", |
| 1029 | "macos", |
| 1030 | "windows", |
| 1031 | "exponent", |
| 1032 | "expoweb" |
| 1033 | ], |
| 1034 | "description": "%reactNative.launch.direct.platform.description%" |
| 1035 | }, |
| 1036 | "expoHostType": { |
| 1037 | "type": "string", |
| 1038 | "enum": [ |
| 1039 | "tunnel", |
| 1040 | "lan", |
| 1041 | "local" |
| 1042 | ], |
| 1043 | "default": "lan", |
| 1044 | "description": "%reactNative.launch.expoHostType.description%" |
| 1045 | }, |
| 1046 | "useHermesEngine": { |
| 1047 | "type": "boolean", |
| 1048 | "description": "%reactNative.direct.attach.useHermesEngine.description%", |
| 1049 | "default": true |
| 1050 | }, |
| 1051 | "jsDebugTrace": { |
| 1052 | "type": "boolean", |
| 1053 | "description": "%reactNative.direct.attach.jsDebugTrace.description%" |
| 1054 | }, |
| 1055 | "browserTarget": { |
| 1056 | "type": "string", |
| 1057 | "description": "%reactNative.direct.attach.browserTarget.description%" |
| 1058 | }, |
| 1059 | "cwd": { |
| 1060 | "type": "string", |
| 1061 | "description": "%reactNative.launch.cwd.description%", |
| 1062 | "default": "${workspaceFolder}" |
| 1063 | }, |
| 1064 | "port": { |
| 1065 | "type": "number", |
| 1066 | "description": "%reactNative.direct.attach.port.description%", |
| 1067 | "default": 8081 |
| 1068 | }, |
| 1069 | "webkitRangeMin": { |
| 1070 | "type": "number", |
| 1071 | "description": "%reactNative.direct.attach.webkitRangeMin.description%", |
| 1072 | "default": 9223 |
| 1073 | }, |
| 1074 | "webkitRangeMax": { |
| 1075 | "type": "number", |
| 1076 | "description": "%reactNative.direct.attach.webkitRangeMax.description%", |
| 1077 | "default": 9322 |
| 1078 | }, |
| 1079 | "target": { |
| 1080 | "anyOf": [ |
| 1081 | { |
| 1082 | "type": "string", |
| 1083 | "enum": [ |
| 1084 | "device", |
| 1085 | "simulator" |
| 1086 | ] |
| 1087 | }, |
| 1088 | { |
| 1089 | "type": "string" |
| 1090 | } |
| 1091 | ], |
| 1092 | "default": "simulator", |
| 1093 | "description": "%reactNative.launch.target.description%" |
| 1094 | }, |
| 1095 | "sourceMaps": { |
| 1096 | "type": "boolean", |
| 1097 | "description": "%reactNative.launch.sourceMaps.description%", |
| 1098 | "default": false |
| 1099 | }, |
| 1100 | "sourceMapPathOverrides": { |
| 1101 | "type": "object", |
| 1102 | "description": "%reactNative.launch.sourceMapsPathOverrides.description%" |
| 1103 | }, |
| 1104 | "sourceMapRenames": { |
| 1105 | "type": "boolean", |
| 1106 | "description": "%reactNative.attach.sourceMapRenames.description%", |
| 1107 | "default": false |
| 1108 | }, |
| 1109 | "logCatArguments": { |
| 1110 | "type": "array", |
| 1111 | "description": "%reactNative.launch.logCatArguments.description%", |
| 1112 | "default": [ |
| 1113 | "*:S", |
| 1114 | "ReactNative:V", |
| 1115 | "ReactNativeJS:V" |
| 1116 | ] |
| 1117 | }, |
| 1118 | "runArguments": { |
| 1119 | "type": "array", |
| 1120 | "description": "%reactNative.launch.runArguments.description%" |
| 1121 | }, |
| 1122 | "env": { |
| 1123 | "type": "object", |
| 1124 | "additionalProperties": { |
| 1125 | "type": "string" |
| 1126 | }, |
| 1127 | "description": "%reactNative.launch.env.description%", |
| 1128 | "default": {} |
| 1129 | }, |
| 1130 | "envFile": { |
| 1131 | "type": "string", |
| 1132 | "description": "%reactNative.launch.envFile.description%", |
| 1133 | "default": "${workspaceFolder}/.env" |
| 1134 | }, |
| 1135 | "variant": { |
| 1136 | "type": "string", |
| 1137 | "description": "%reactNative.launch.variant.description%" |
| 1138 | }, |
| 1139 | "skipFiles": { |
| 1140 | "type": "array", |
| 1141 | "description": "%reactNative.launch.skipFiles.description%", |
| 1142 | "items": { |
| 1143 | "type": "string" |
| 1144 | }, |
| 1145 | "default": [] |
| 1146 | }, |
| 1147 | "trace": { |
| 1148 | "type": "string", |
| 1149 | "enum": [ |
| 1150 | "verbose", |
| 1151 | "log", |
| 1152 | "warn", |
| 1153 | "error", |
| 1154 | "stop" |
| 1155 | ], |
| 1156 | "default": "log", |
| 1157 | "description": "%reactNative.launch.trace.description%" |
| 1158 | }, |
| 1159 | "launchActivity": { |
| 1160 | "type": "string", |
| 1161 | "description": "%reactNative.launch.launchActivity.description%", |
| 1162 | "default": "MainActivity" |
| 1163 | }, |
| 1164 | "enableDebug": { |
| 1165 | "type": "boolean", |
| 1166 | "description": "%reactNative.launch.enableDebug.description%", |
| 1167 | "default": true |
| 1168 | }, |
| 1169 | "url": { |
| 1170 | "type": "string", |
| 1171 | "description": "%reactNative.direct.attach.url.description%" |
| 1172 | } |
| 1173 | } |
| 1174 | } |
| 1175 | } |
| 1176 | } |
| 1177 | ], |
| 1178 | "configuration": { |
| 1179 | "type": "object", |
| 1180 | "title": "%reactNative.configuration.title%", |
| 1181 | "properties": { |
| 1182 | "react-native.ios.runArguments.simulator": { |
| 1183 | "description": "%reactNative.configuration.properties.react-native.ios.runArguments.simulator.description%", |
| 1184 | "type": "array", |
| 1185 | "default": [], |
| 1186 | "scope": "resource" |
| 1187 | }, |
| 1188 | "react-native.ios.runArguments.device": { |
| 1189 | "description": "%reactNative.configuration.properties.react-native.ios.runArguments.device.description%", |
| 1190 | "type": "array", |
| 1191 | "default": [], |
| 1192 | "scope": "resource" |
| 1193 | }, |
| 1194 | "react-native.ios.env.simulator": { |
| 1195 | "type": "object", |
| 1196 | "additionalProperties": { |
| 1197 | "type": "string" |
| 1198 | }, |
| 1199 | "description": "%reactNative.configuration.properties.react-native.ios.env.simulator.description%", |
| 1200 | "default": {}, |
| 1201 | "scope": "resource" |
| 1202 | }, |
| 1203 | "react-native.ios.env.device": { |
| 1204 | "type": "object", |
| 1205 | "additionalProperties": { |
| 1206 | "type": "string" |
| 1207 | }, |
| 1208 | "description": "%reactNative.configuration.properties.react-native.ios.env.device.description%", |
| 1209 | "default": {}, |
| 1210 | "scope": "resource" |
| 1211 | }, |
| 1212 | "react-native.ios.envFile.simulator": { |
| 1213 | "type": "string", |
| 1214 | "description": "%reactNative.configuration.properties.react-native.ios.envFile.simulator.description%", |
| 1215 | "scope": "resource" |
| 1216 | }, |
| 1217 | "react-native.ios.envFile.device": { |
| 1218 | "type": "string", |
| 1219 | "description": "%reactNative.configuration.properties.react-native.ios.envFile.device.description%", |
| 1220 | "scope": "resource" |
| 1221 | }, |
| 1222 | "react-native.android.runArguments.simulator": { |
| 1223 | "description": "%reactNative.configuration.properties.react-native.android.runArguments.simulator.description%", |
| 1224 | "type": "array", |
| 1225 | "default": [], |
| 1226 | "scope": "resource" |
| 1227 | }, |
| 1228 | "react-native.android.runArguments.device": { |
| 1229 | "description": "%reactNative.configuration.properties.react-native.android.runArguments.device.description%", |
| 1230 | "type": "array", |
| 1231 | "default": [], |
| 1232 | "scope": "resource" |
| 1233 | }, |
| 1234 | "react-native.android.env.simulator": { |
| 1235 | "type": "object", |
| 1236 | "additionalProperties": { |
| 1237 | "type": "string" |
| 1238 | }, |
| 1239 | "description": "%reactNative.configuration.properties.react-native.android.env.simulator.description%", |
| 1240 | "default": {}, |
| 1241 | "scope": "resource" |
| 1242 | }, |
| 1243 | "react-native.android.env.device": { |
| 1244 | "type": "object", |
| 1245 | "additionalProperties": { |
| 1246 | "type": "string" |
| 1247 | }, |
| 1248 | "description": "%reactNative.configuration.properties.react-native.android.env.device.description%", |
| 1249 | "default": {}, |
| 1250 | "scope": "resource" |
| 1251 | }, |
| 1252 | "react-native.android.envFile.simulator": { |
| 1253 | "type": "string", |
| 1254 | "description": "%reactNative.configuration.properties.react-native.android.envFile.simulator.description%", |
| 1255 | "scope": "resource" |
| 1256 | }, |
| 1257 | "react-native.android.envFile.device": { |
| 1258 | "type": "string", |
| 1259 | "description": "%reactNative.configuration.properties.react-native.android.envFile.device.description%", |
| 1260 | "scope": "resource" |
| 1261 | }, |
| 1262 | "react-native.android.logCatArguments": { |
| 1263 | "type": "array", |
| 1264 | "description": "%reactNative.launch.logCatArguments.description%", |
| 1265 | "scope": "resource", |
| 1266 | "default": [ |
| 1267 | "*:S", |
| 1268 | "ReactNative:V", |
| 1269 | "ReactNativeJS:V" |
| 1270 | ] |
| 1271 | }, |
| 1272 | "react-native.packager.port": { |
| 1273 | "description": "%reactNative.configuration.properties.react-native.packager.port.description%", |
| 1274 | "type": "number", |
| 1275 | "default": 8081, |
| 1276 | "scope": "resource" |
| 1277 | }, |
| 1278 | "react-native.packager.status-indicator": { |
| 1279 | "description": "%reactNative.configuration.properties.react-native.packager.status-indicator.description%", |
| 1280 | "type": "string", |
| 1281 | "enum": [ |
| 1282 | "Full", |
| 1283 | "Short" |
| 1284 | ], |
| 1285 | "default": "Full", |
| 1286 | "scope": "resource" |
| 1287 | }, |
| 1288 | "react-native.workspace.exclude": { |
| 1289 | "type": "array", |
| 1290 | "description": "%reactNative.workspace.exclude.description%", |
| 1291 | "scope": "resource", |
| 1292 | "default": [] |
| 1293 | }, |
| 1294 | "react-native-tools.reactNativeGlobalCommandName": { |
| 1295 | "description": "%reactNative.configuration.properties.react-native-tools.reactNativeGlobalCommandName.description%", |
| 1296 | "type": "string", |
| 1297 | "scope": "resource" |
| 1298 | }, |
| 1299 | "react-native-tools.projectRoot": { |
| 1300 | "description": "%reactNative.configuration.properties.react-native-tools.projectRoot.description%", |
| 1301 | "type": "string", |
| 1302 | "scope": "resource", |
| 1303 | "default": "" |
| 1304 | }, |
| 1305 | "react-native-tools.logLevel": { |
| 1306 | "description": "%reactNative.configuration.properties.react-native-tools.logLevel.description%", |
| 1307 | "type": "string", |
| 1308 | "enum": [ |
| 1309 | "Trace", |
| 1310 | "Debug", |
| 1311 | "Info", |
| 1312 | "Warning", |
| 1313 | "Error", |
| 1314 | "None" |
| 1315 | ], |
| 1316 | "default": "Info", |
| 1317 | "scope": "resource" |
| 1318 | }, |
| 1319 | "react-native-tools.networkInspector.consoleLogsColorTheme": { |
| 1320 | "description": "%reactNative.configuration.properties.react-native-tools.consoleLogsColorTheme.description%", |
| 1321 | "type": "string", |
| 1322 | "enum": [ |
| 1323 | "Light", |
| 1324 | "Dark" |
| 1325 | ], |
| 1326 | "default": "Light", |
| 1327 | "scope": "resource" |
| 1328 | }, |
| 1329 | "react-native.expo.dependencies": { |
| 1330 | "description": "%reactNative.configuration.properties.react-native.expo.dependencies.description%", |
| 1331 | "type": "object", |
| 1332 | "additionalProperties": { |
| 1333 | "type": "string" |
| 1334 | }, |
| 1335 | "default": { |
| 1336 | "xdl": "59.2.31", |
| 1337 | "@expo/metro-config": "0.3.13", |
| 1338 | "@expo/ngrok": "^4.1.0" |
| 1339 | }, |
| 1340 | "scope": "resource" |
| 1341 | }, |
| 1342 | "react-native-tools.showUserTips": { |
| 1343 | "description": "%reactNative.configuration.properties.react-native-tools.showUserTips.description%", |
| 1344 | "type": "boolean", |
| 1345 | "scope": "resource", |
| 1346 | "default": true |
| 1347 | }, |
| 1348 | "react-native-tools.displayDebuggingCommandsButton": { |
| 1349 | "description": "%reactNative.configuration.properties.react-native-tools.displayDebuggingCommandsButton.description%", |
| 1350 | "type": "boolean", |
| 1351 | "scope": "resource", |
| 1352 | "default": true |
| 1353 | }, |
| 1354 | "react-native-tools.telemetry.optIn": { |
| 1355 | "description": "Whether to send usage data to Microsoft", |
| 1356 | "type": "boolean", |
| 1357 | "scope": "resource", |
| 1358 | "default": "" |
| 1359 | }, |
| 1360 | "react-native-tools.showPackagerIndicator": { |
| 1361 | "description": "Whether to show the packager indicator in the status bar.", |
| 1362 | "type": "boolean", |
| 1363 | "scope": "resource", |
| 1364 | "default": true |
| 1365 | }, |
| 1366 | "react-native-tools.setNodeVersion": { |
| 1367 | "description": "The version of Node.js to use for running React Native.", |
| 1368 | "type": "string", |
| 1369 | "scope": "resource", |
| 1370 | "default": "" |
| 1371 | } |
| 1372 | } |
| 1373 | } |
| 1374 | }, |
| 1375 | "capabilities": { |
| 1376 | "virtualWorkspaces": { |
| 1377 | "supported": false, |
| 1378 | "description": "%reactNative.virtualWorkspaces.description%" |
| 1379 | }, |
| 1380 | "untrustedWorkspaces": { |
| 1381 | "supported": "limited", |
| 1382 | "description": "%reactNative.workspaceTrust.description%" |
| 1383 | } |
| 1384 | }, |
| 1385 | "scripts": { |
| 1386 | "build": "gulp build", |
| 1387 | "vscode:prepublish": "gulp", |
| 1388 | "test": "node ./test/runTest.js", |
| 1389 | "test-localization": "node ./test/localization/runTest.js", |
| 1390 | "prepare": "husky install", |
| 1391 | "prepare-smoke-tests": "cd test/smoke && gulp prepare-smoke-tests && yarn --cwd ./vscode install", |
| 1392 | "smoke-tests": "cd test/smoke && gulp prepare-smoke-tests && yarn --cwd ./vscode install && yarn --cwd ./vscode/test/smoke mocha", |
| 1393 | "quick-smoke-tests": "cd test/smoke/vscode/test/smoke && yarn mocha --skip-setup" |
| 1394 | }, |
| 1395 | "prettier": { |
| 1396 | "trailingComma": "all", |
| 1397 | "arrowParens": "avoid", |
| 1398 | "printWidth": 100, |
| 1399 | "tabWidth": 4, |
| 1400 | "endOfLine": "auto", |
| 1401 | "overrides": [ |
| 1402 | { |
| 1403 | "files": [ |
| 1404 | "*.md" |
| 1405 | ], |
| 1406 | "options": { |
| 1407 | "tabWidth": 2, |
| 1408 | "printWidth": 80 |
| 1409 | } |
| 1410 | } |
| 1411 | ] |
| 1412 | }, |
| 1413 | "dependencies": { |
| 1414 | "@vscode/debugadapter": "^1.63.0", |
| 1415 | "command-exists": "1.2.9", |
| 1416 | "configstore": "5.0.1", |
| 1417 | "extract-opts": "2.2.0", |
| 1418 | "flatten-source-map": "0.0.2", |
| 1419 | "glob": "7.1.6", |
| 1420 | "ip-address": "^9.0.5", |
| 1421 | "js-base64": "3.6.0", |
| 1422 | "json5": "^1.0.2", |
| 1423 | "jsonc-parser": "3.0.0", |
| 1424 | "mkdirp": "1.0.3", |
| 1425 | "net": "^1.0.2", |
| 1426 | "openssl-wrapper": "0.3.4", |
| 1427 | "pako": "2.0.3", |
| 1428 | "qr-image": "3.2.0", |
| 1429 | "qrcode-terminal": "^0.12.0", |
| 1430 | "querystring": "0.2.1", |
| 1431 | "rsocket-core": "0.0.23", |
| 1432 | "rsocket-tcp-server": "0.0.23", |
| 1433 | "semver": "6.3.1", |
| 1434 | "source-map": "0.5.2", |
| 1435 | "source-map-resolve": "0.5.3", |
| 1436 | "strip-json-comments": "2.0.1", |
| 1437 | "tmp-promise": "3.0.2", |
| 1438 | "uuid": "9.0.0", |
| 1439 | "vscode-cdp-proxy": "0.2.0", |
| 1440 | "vscode-extension-telemetry": "0.4.5", |
| 1441 | "vscode-js-debug-browsers": "^1.0.5", |
| 1442 | "vscode-nls": "4.1.2", |
| 1443 | "ws": "7.5.10" |
| 1444 | }, |
| 1445 | "devDependencies": { |
| 1446 | "@mixer/parallel-prettier": "^2.0.1", |
| 1447 | "@types/command-exists": "^1.2.0", |
| 1448 | "@types/configstore": "4.0.0", |
| 1449 | "@types/ip": "1.1.0", |
| 1450 | "@types/mkdirp": "1.0.0", |
| 1451 | "@types/mocha": "8.0.3", |
| 1452 | "@types/ncp": "2.0.3", |
| 1453 | "@types/node": "10.17.26", |
| 1454 | "@types/pako": "1.0.1", |
| 1455 | "@types/proxyquire": "^1.3.28", |
| 1456 | "@types/qr-image": "3.2.3", |
| 1457 | "@types/qrcode-terminal": "^0.12.0", |
| 1458 | "@types/rimraf": "3.0.0", |
| 1459 | "@types/rsocket-core": "0.0.6", |
| 1460 | "@types/rsocket-tcp-server": "0.0.2", |
| 1461 | "@types/semver": "6.2.1", |
| 1462 | "@types/shelljs": "0.7.0", |
| 1463 | "@types/source-map": "0.5.2", |
| 1464 | "@types/source-map-support": "0.2.28", |
| 1465 | "@types/uuid": "9.0.0", |
| 1466 | "@types/vscode": "^1.46.0", |
| 1467 | "@types/websocket": "0.0.33", |
| 1468 | "@types/ws": "0.0.39", |
| 1469 | "@typescript-eslint/eslint-plugin": "^6.15.0", |
| 1470 | "@typescript-eslint/parser": "^6.15.0", |
| 1471 | "@vscode/test-electron": "^2.3.8", |
| 1472 | "@vscode/vsce": "^2.19.0", |
| 1473 | "ansi-colors": "3.2.4", |
| 1474 | "copy-webpack-plugin": "6.0.2", |
| 1475 | "del": "2.2.0", |
| 1476 | "devtools-protocol": "0.0.762508", |
| 1477 | "eslint": "7.19.0", |
| 1478 | "eslint-config-prettier": "^7.2.0", |
| 1479 | "eslint-import-resolver-node": "^0.3.4", |
| 1480 | "eslint-import-resolver-typescript": "^2.4.0", |
| 1481 | "eslint-plugin-header": "3.1.1", |
| 1482 | "eslint-plugin-import": "^2.22.1", |
| 1483 | "eslint-plugin-prettier": "^3.3.1", |
| 1484 | "eslint-plugin-promise": "^4.3.1", |
| 1485 | "eslint-plugin-unicorn": "^28.0.2", |
| 1486 | "event-stream": "3.3.4", |
| 1487 | "fancy-log": "1.3.3", |
| 1488 | "gulp": "5.0.0", |
| 1489 | "gulp-filter": "6.0.0", |
| 1490 | "gulp-mocha": "^8.0.0", |
| 1491 | "gulp-preprocess": "3.0.3", |
| 1492 | "gulp-sourcemaps": "2.6.5", |
| 1493 | "gulp-typescript": "5.0.1", |
| 1494 | "husky": "^7.0.4", |
| 1495 | "minimist": "1.2.6", |
| 1496 | "mocha": "^9.2.0", |
| 1497 | "mocha-junit-reporter": "^2.0.2", |
| 1498 | "mocha-multi-reporters": "^1.5.1", |
| 1499 | "mochawesome": "^7.1.3", |
| 1500 | "ncp": "2.0.0", |
| 1501 | "nyc": "^15.1.0", |
| 1502 | "plugin-error": "1.0.1", |
| 1503 | "prettier": "2.4.0", |
| 1504 | "proxyquire": "^2.1.3", |
| 1505 | "rimraf": "3.0.2", |
| 1506 | "should": "8.3.0", |
| 1507 | "sinon": "1.17.3", |
| 1508 | "source-map-support": "0.4.0", |
| 1509 | "through2": "2.0.1", |
| 1510 | "ts-loader": "9.0.2", |
| 1511 | "typescript": "5.0.4", |
| 1512 | "vscode-debugprotocol": "1.51.0", |
| 1513 | "vscode-nls-dev": "^4.0.4", |
| 1514 | "webpack": "5.94.0", |
| 1515 | "webpack-bundle-analyzer": "4.4.0" |
| 1516 | }, |
| 1517 | "extensionDependencies": [ |
| 1518 | "ms-vscode.js-debug" |
| 1519 | ] |
| 1520 | } |
| 1521 | |