{
	"name": "vscode-react-native-preview",
	"displayName": "React Native Tools (Preview)",
	"version": "0.0.0",
	"private": true,
	"publisher": "msjsdiag",
	"icon": "images/icon.png",
	"galleryBanner": {
		"color": "#3B3738",
		"theme": "dark"
	},
	"preview": true,
	"description": "%reactNative.description%",
	"keywords": [
		"react-native",
		"multi-root ready"
	],
	"bugs": "https://github.com/Microsoft/vscode-react-native/issues",
	"license": "%reactNative.license%",
	"repository": {
		"type": "git",
		"url": "https://github.com/Microsoft/vscode-react-native"
	},
	"engines": {
		"vscode": "^1.40.0"
	},
	"categories": [
		"Debuggers",
		"Other"
	],
	"activationEvents": [
		"onDebugResolve:reactnative-preview",
		"onDebugResolve:reactnativedirect-preview",
		"onDebugInitialConfigurations",
		"onCommand:reactNative.runAndroidSimulator-preview",
		"onCommand:reactNative.runAndroidDevice-preview",
		"onCommand:reactNative.runIosSimulator-preview",
		"onCommand:reactNative.runIosDevice-preview",
		"onCommand:reactNative.runExponent-preview",
		"onCommand:reactNative.startPackager-preview",
		"onCommand:reactNative.stopPackager-preview",
		"onCommand:reactNative.restartPackager-preview",
		"onCommand:reactNative.publishToExpHost-preview",
		"onCommand:reactNative.showDevMenu-preview",
		"onCommand:reactNative.reloadApp-preview",
		"onCommand:reactNative.runInspector-preview"
	],
	"main": "./src/extension/rn-extension",
	"contributes": {
		"commands": [
			{
				"command": "reactNative.runAndroidSimulator-preview",
				"title": "%reactNative.command.runAndroidSimulator.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.runAndroidDevice-preview",
				"title": "%reactNative.command.runAndroidDevice.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.runIosSimulator-preview",
				"title": "%reactNative.command.runIosSimulator.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.runIosDevice-preview",
				"title": "%reactNative.command.runIosDevice.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.runExponent-preview",
				"title": "%reactNative.command.runExponent.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.startPackager-preview",
				"title": "%reactNative.command.startPackager.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.stopPackager-preview",
				"title": "%reactNative.command.stopPackager.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.restartPackager-preview",
				"title": "%reactNative.command.restartPackager.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.publishToExpHost-preview",
				"title": "%reactNative.command.publishToExpHost.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.showDevMenu-preview",
				"title": "%reactNative.command.showDevMenu.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.reloadApp-preview",
				"title": "%reactNative.command.reloadApp.title%",
				"category": "React Native (Preview)"
			},
			{
				"command": "reactNative.runInspector-preview",
				"title": "%reactNative.command.runInspector.title%",
				"category": "React Native (Preview)"
			}
		],
		"debuggers": [
			{
				"type": "reactnative-preview",
				"label": "React Native (Preview)",
				"runtime": "node",
				"enableBreakpointsFor": {
					"languageIds": [
						"javascript",
						"typescript",
						"javascriptreact",
						"typescriptreact"
					]
				},
				"configurationSnippets": [
					{
						"label": "React Native (Preview): Debug Android",
						"description": "%reactNative.snippets.debugAndroid.description%",
						"body": {
							"name": "Debug Android (Preview)",
							"cwd": "^\"\\${workspaceFolder}\"",
							"type": "reactnative-preview",
							"request": "launch",
							"platform": "android"
						}
					},
					{
						"label": "React Native (Preview): Debug iOS",
						"description": "%reactNative.snippets.debugiOS.description%",
						"body": {
							"name": "Debug iOS (Preview)",
							"cwd": "^\"\\${workspaceFolder}\"",
							"type": "reactnative-preview",
							"request": "launch",
							"platform": "ios"
						}
					},
					{
						"label": "React Native (Preview): Debug Windows",
						"description": "%reactNative.snippets.debugWindows.description%",
						"body": {
							"name": "Debug Windows (Preview)",
							"cwd": "^\"\\${workspaceFolder}\"",
							"type": "reactnative-preview",
							"request": "launch",
							"platform": "windows"
						}
					},
					{
						"label": "React Native (Preview): Attach to packager",
						"description": "%reactNative.snippets.attachPackager.description%",
						"body": {
							"name": "Attach to packager (Preview)",
							"cwd": "^\"\\${workspaceFolder}\"",
							"type": "reactnative-preview",
							"request": "attach"
						}
					},
					{
						"label": "React Native (Preview): Debug in Exponent",
						"description": "%reactNative.snippets.debugExpo.description%",
						"body": {
							"name": "Debug in Exponent (Preview)",
							"cwd": "^\"\\${workspaceFolder}\"",
							"type": "reactnative-preview",
							"request": "launch",
							"platform": "exponent"
						}
					}
				],
				"configurationAttributes": {
					"attach": {
						"required": [
							"cwd"
						],
						"properties": {
							"program": {
								"type": "string",
								"description": "%reactNative.attach.program.description%"
							},
							"cwd": {
								"type": "string",
								"description": "%reactNative.attach.cwd.description%",
								"default": "${workspaceFolder}"
							},
							"sourceMaps": {
								"type": "boolean",
								"description": "%reactNative.attach.sourceMaps.description%",
								"default": false
							},
							"sourceMapPathOverrides": {
								"type": "object",
								"description": "%reactNative.attach.sourceMapsPathOverrides.description%"
							},
							"trace": {
								"type": "string",
								"enum": [
									"verbose",
									"log",
									"warn",
									"error",
									"stop"
								],
								"default": "log",
								"description": "%reactNative.attach.trace.description%"
							},
							"address": {
								"type": "string",
								"description": "%reactNative.attach.address.description%",
								"default": "localhost"
							},
							"port": {
								"type": "string",
								"description": "%reactNative.attach.port.description%",
								"default": "8081"
							},
							"remoteRoot": {
								"type": "string",
								"description": "%reactNative.attach.remoteRoot.description%",
								"default": null
							},
							"localRoot": {
								"type": "string",
								"description": "%reactNative.attach.localRoot.description%",
								"default": "${workspaceFolder}"
							},
							"skipFiles": {
								"type": "array",
								"description": "%reactNative.attach.skipFiles.description%",
								"items": {
									"type": "string"
								},
								"default": []
							},
							"debuggerWorkerUrlPath": {
								"type": "string",
								"description": "%reactNative.attach.debuggerWorkerUrlPath.description%",
								"default": "debugger-ui/"
							}
						}
					},
					"launch": {
						"required": [
							"cwd",
							"platform"
						],
						"properties": {
							"platform": {
								"type": "string",
								"enum": [
									"ios",
									"android",
									"exponent",
									"windows",
									"wpf"
								],
								"description": "%reactNative.launch.platform.description%"
							},
							"program": {
								"type": "string",
								"description": "%reactNative.launch.program.description%"
							},
							"cwd": {
								"type": "string",
								"description": "%reactNative.launch.cwd.description%",
								"default": "${workspaceFolder}"
							},
							"target": {
								"anyOf": [
									{
										"type": "string",
										"enum": [
											"device",
											"simulator"
										]
									},
									{
										"type": "string"
									}
								],
								"default": "simulator",
								"description": "%reactNative.launch.target.description%"
							},
							"sourceMaps": {
								"type": "boolean",
								"description": "%reactNative.launch.sourceMaps.description%",
								"default": false
							},
							"logCatArguments": {
								"type": "array",
								"description": "%reactNative.launch.logCatArguments.description%",
								"default": [
									"*:S",
									"ReactNative:V",
									"ReactNativeJS:V"
								]
							},
							"runArguments": {
								"type": "array",
								"description": "%reactNative.launch.runArguments.description%"
							},
							"env": {
								"type": "object",
								"additionalProperties": {
									"type": "string"
								},
								"description": "%reactNative.launch.env.description%",
								"default": {}
							},
							"envFile": {
								"type": "string",
								"description": "%reactNative.launch.envFile.description%",
								"default": "${workspaceFolder}/.env"
							},
							"variant": {
								"type": "string",
								"description": "%reactNative.launch.variant.description%"
							},
							"scheme": {
								"type": "string",
								"description": "%reactNative.launch.scheme.description%"
							},
							"productName": {
								"type": "string",
								"description": "%reactNative.launch.productName.description%"
							},
							"skipFiles": {
								"type": "array",
								"description": "%reactNative.launch.skipFiles.description%",
								"items": {
									"type": "string"
								},
								"default": []
							},
							"trace": {
								"type": "string",
								"enum": [
									"verbose",
									"log",
									"warn",
									"error",
									"stop"
								],
								"default": "log",
								"description": "%reactNative.launch.trace.description%"
							},
							"debuggerWorkerUrlPath": {
								"type": "string",
								"description": "%reactNative.launch.debuggerWorkerUrlPath.description%",
								"default": "debugger-ui/"
							},
							"launchActivity": {
								"type": "string",
								"description": "%reactNative.launch.launchActivity.description%",
								"default": "MainActivity"
							},
							"expoHostType": {
								"type": "string",
								"enum": [
									"tunnel",
									"lan",
									"local"
								],
								"default": "tunnel",
								"description": "%reactNative.launch.expoHostType.description%"
							}
						}
					}
				}
			},
			{
				"type": "reactnativedirect-preview",
				"label": "React Native Direct (Preview) - Experimental",
				"runtime": "node",
				"enableBreakpointsFor": {
					"languageIds": [
						"javascript",
						"typescript",
						"javascriptreact",
						"typescriptreact"
					]
				},
				"configurationSnippets": [
					{
						"label": "React Native Hermes (Preview): Debug Android - Experimental",
						"description": "%reactNative.snippets.debugAndroidHermes.description%",
						"body": {
							"name": "Debug Android Hermes (Preview) - Experimental",
							"cwd": "^\"\\${workspaceFolder}\"",
							"type": "reactnativedirect-preview",
							"request": "launch",
							"platform": "android"
						}
					},
					{
						"label": "React Native Hermes (Preview): Attach to Hermes application - Experimental",
						"description": "%reactNative.snippets.attachPackagerHermes.description%",
						"body": {
							"name": "Attach to Hermes application (Preview) - Experimental",
							"cwd": "^\"\\${workspaceFolder}\"",
							"type": "reactnativedirect-preview",
							"request": "attach"
						}
					}
				],
				"configurationAttributes": {
					"attach": {
						"required": [
							"cwd"
						],
						"properties": {
							"cwd": {
								"type": "string",
								"description": "%reactNative.attach.cwd.description%",
								"default": "${workspaceFolder}"
							},
							"trace": {
								"type": "string",
								"enum": [
									"verbose",
									"log",
									"warn",
									"error",
									"stop"
								],
								"default": "log",
								"description": "%reactNative.attach.trace.description%"
							},
							"address": {
								"type": "string",
								"description": "%reactNative.attach.address.description%",
								"default": "localhost"
							},
							"port": {
								"type": "string",
								"description": "%reactNative.direct.attach.port.description%",
								"default": "8081"
							},
							"skipFiles": {
								"type": "array",
								"description": "%reactNative.attach.skipFiles.description%",
								"items": {
									"type": "string"
								},
								"default": []
							}
						}
					},
					"launch": {
						"required": [
							"cwd",
							"platform"
						],
						"properties": {
							"platform": {
								"type": "string",
								"enum": [
									"android"
								],
								"description": "%reactNative.launch.platform.description%"
							},
							"cwd": {
								"type": "string",
								"description": "%reactNative.launch.cwd.description%",
								"default": "${workspaceFolder}"
							},
							"port": {
								"type": "string",
								"description": "%reactNative.direct.attach.port.description%",
								"default": "8081"
							},
							"target": {
								"anyOf": [
									{
										"type": "string",
										"enum": [
											"device",
											"simulator"
										]
									},
									{
										"type": "string"
									}
								],
								"default": "simulator",
								"description": "%reactNative.launch.target.description%"
							},
							"logCatArguments": {
								"type": "array",
								"description": "%reactNative.launch.logCatArguments.description%",
								"default": [
									"*:S",
									"ReactNative:V",
									"ReactNativeJS:V"
								]
							},
							"runArguments": {
								"type": "array",
								"description": "%reactNative.launch.runArguments.description%"
							},
							"env": {
								"type": "object",
								"additionalProperties": {
									"type": "string"
								},
								"description": "%reactNative.launch.env.description%",
								"default": {}
							},
							"envFile": {
								"type": "string",
								"description": "%reactNative.launch.envFile.description%",
								"default": "${workspaceFolder}/.env"
							},
							"skipFiles": {
								"type": "array",
								"description": "%reactNative.launch.skipFiles.description%",
								"items": {
									"type": "string"
								},
								"default": []
							},
							"trace": {
								"type": "string",
								"enum": [
									"verbose",
									"log",
									"warn",
									"error",
									"stop"
								],
								"default": "log",
								"description": "%reactNative.launch.trace.description%"
							},
							"launchActivity": {
								"type": "string",
								"description": "%reactNative.launch.launchActivity.description%",
								"default": "MainActivity"
							}
						}
					}
				}
			}
		],
		"configuration": {
			"type": "object",
			"title": "%reactNative.configuration.title%",
			"properties": {
				"react-native.ios.runArguments.simulator": {
					"description": "%reactNative.configuration.properties.react-native.ios.runArguments.simulator.description%",
					"type": "array",
					"default": [],
					"scope": "resource"
				},
				"react-native.ios.runArguments.device": {
					"description": "%reactNative.configuration.properties.react-native.ios.runArguments.device.description%",
					"type": "array",
					"default": [],
					"scope": "resource"
				},
				"react-native.ios.env.simulator": {
					"type": "object",
					"additionalProperties": {
						"type": "string"
					},
					"description": "%reactNative.configuration.properties.react-native.ios.env.simulator.description%",
					"default": {},
					"scope": "resource"
				},
				"react-native.ios.env.device": {
					"type": "object",
					"additionalProperties": {
						"type": "string"
					},
					"description": "%reactNative.configuration.properties.react-native.ios.env.device.description%",
					"default": {},
					"scope": "resource"
				},
				"react-native.ios.envFile.simulator": {
					"type": "string",
					"description": "%reactNative.configuration.properties.react-native.ios.envFile.simulator.description%",
					"scope": "resource"
				},
				"react-native.ios.envFile.device": {
					"type": "string",
					"description": "%reactNative.configuration.properties.react-native.ios.envFile.device.description%",
					"scope": "resource"
				},
				"react-native.android.runArguments.simulator": {
					"description": "%reactNative.configuration.properties.react-native.android.runArguments.simulator.description%",
					"type": "array",
					"default": [],
					"scope": "resource"
				},
				"react-native.android.runArguments.device": {
					"description": "%reactNative.configuration.properties.react-native.android.runArguments.device.description%",
					"type": "array",
					"default": [],
					"scope": "resource"
				},
				"react-native.android.env.simulator": {
					"type": "object",
					"additionalProperties": {
						"type": "string"
					},
					"description": "%reactNative.configuration.properties.react-native.android.env.simulator.description%",
					"default": {},
					"scope": "resource"
				},
				"react-native.android.env.device": {
					"type": "object",
					"additionalProperties": {
						"type": "string"
					},
					"description": "%reactNative.configuration.properties.react-native.android.env.device.description%",
					"default": {},
					"scope": "resource"
				},
				"react-native.android.envFile.simulator": {
					"type": "string",
					"description": "%reactNative.configuration.properties.react-native.android.envFile.simulator.description%",
					"scope": "resource"
				},
				"react-native.android.envFile.device": {
					"type": "string",
					"description": "%reactNative.configuration.properties.react-native.android.envFile.device.description%",
					"scope": "resource"
				},
				"react-native.packager.port": {
					"description": "%reactNative.configuration.properties.react-native.packager.port.description%",
					"type": "number",
					"default": 8081,
					"scope": "resource"
				},
				"react-native-tools.reactNativeGlobalCommandName": {
					"description": "%reactNative.configuration.properties.react-native-tools.reactNativeGlobalCommandName.description%",
					"type": "string",
					"scope": "resource"
				},
				"react-native-tools.projectRoot": {
					"description": "%reactNative.configuration.properties.react-native-tools.projectRoot.description%",
					"type": "string",
					"scope": "resource",
					"default": ""
				},
				"react-native-tools.logLevel": {
					"description": "%reactNative.configuration.properties.react-native-tools.logLevel.description%",
					"type": "enum",
					"enum": [
						"Trace",
						"Debug",
						"Info",
						"Warning",
						"Error",
						"None"
					],
					"default": "Info",
					"scope": "resource"
				}
			}
		}
	},
	"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 ./test/runTest.js",
		"test-localization": "node ./test/localization/runTest.js",
		"prepare-smoke-tests": "cd test/smoke && gulp prepare-smoke-tests && yarn --cwd ./vscode install",
		"smoke-tests": "cd test/smoke && gulp prepare-smoke-tests && yarn --cwd ./vscode install && yarn --cwd ./vscode/test/smoke mocha",
		"quick-smoke-tests": "cd test/smoke/vscode/test/smoke && yarn mocha --skip-setup"
	},
	"dependencies": {
		"extract-opts": "2.2.0",
		"flatten-source-map": "0.0.2",
		"glob": "^7.1.6",
		"ip": "^1.1.5",
		"mkdirp": "^1.0.3",
		"q": "1.4.1",
		"qr-image": "^3.2.0",
		"semver": "^6.3.0",
		"source-map": "0.5.2",
		"source-map-resolve": "^0.5.3",
		"strip-json-comments": "2.0.1",
		"vscode-cdp-proxy": "^0.2.0",
		"vscode-debugadapter": "^1.39.1",
		"vscode-extension-telemetry": "0.0.5",
		"vscode-nls": "3.2.2",
		"ws": "^7.3.0"
	},
	"devDependencies": {
		"@types/ip": "^1.1.0",
		"@types/mkdirp": "^1.0.0",
		"@types/mocha": "^7.0.2",
		"@types/ncp": "^2.0.3",
		"@types/node": "^10.17.17",
		"@types/qr-image": "^3.2.0",
		"@types/rimraf": "^2.0.3",
		"@types/semver": "^6.2.1",
		"@types/shelljs": "^0.7.0",
		"@types/source-map": "0.5.2",
		"@types/source-map-support": "^0.2.28",
		"@types/vscode": "^1.40.0",
		"@types/websocket": "0.0.33",
		"@types/ws": "^0.0.39",
		"ansi-colors": "^3.2.4",
		"del": "^2.2.0",
		"devtools-protocol": "0.0.762508",
		"event-stream": "3.3.4",
		"fancy-log": "^1.3.3",
		"gulp": "^4.0.2",
		"gulp-istanbul": "^1.1.3",
		"gulp-mocha": "^7.0.2",
		"gulp-preprocess": "^3.0.3",
		"gulp-sourcemaps": "^2.6.5",
		"gulp-tslint": "^8.1.4",
		"gulp-typescript": "^5.0.1",
		"isparta": "^4.1.1",
		"minimist": "^1.2.5",
		"mocha": "^7.1.1",
		"mocha-junit-reporter": "^1.23.3",
		"mocha-multi-reporters": "^1.1.7",
		"ncp": "^2.0.0",
		"plugin-error": "^1.0.1",
		"remap-istanbul": "^0.13.0",
		"rimraf": "^2.7.1",
		"should": "^8.3.0",
		"sinon": "^1.17.3",
		"source-map-support": "^0.4.0",
		"through2": "^2.0.1",
		"tslint": "^5.20.1",
		"typescript": "^3.7.5",
		"vsce": "^1.74.0",
		"vscode-debugprotocol": "^1.40.0",
		"vscode-nls-dev": "^3.3.1",
		"vscode-test": "^1.3.0"
	},
	"extensionDependencies": [
		"ms-vscode.js-debug-nightly"
	]
}
