microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
package.json
136lines · modecode
| 1 | { |
| 2 | "name": "vscode-react-native", |
| 3 | "displayName": "React Native Tools (Preview)", |
| 4 | "version": "0.1.0-alpha", |
| 5 | "private": true, |
| 6 | "publisher": "vsmobile", |
| 7 | "icon": "images/icon.svg", |
| 8 | "galleryBanner": { |
| 9 | "color": "#3B3738", |
| 10 | "theme": "dark" |
| 11 | }, |
| 12 | "description": "Code-hinting, debugging and integrated commands for React Native", |
| 13 | "license": "MIT", |
| 14 | "repository": { |
| 15 | "type": "git", |
| 16 | "url": "https://github.com/Microsoft/vscode-react-native" |
| 17 | }, |
| 18 | "engines": { |
| 19 | "vscode": "^0.10.1" |
| 20 | }, |
| 21 | "categories": [ |
| 22 | "Debuggers", |
| 23 | "Other" |
| 24 | ], |
| 25 | "activationEvents": [ |
| 26 | "workspaceContains:package.json" |
| 27 | ], |
| 28 | "main": "./out/extension/rn-extension", |
| 29 | "contributes": { |
| 30 | "commands": [ |
| 31 | { |
| 32 | "command": "reactNative.runAndroid", |
| 33 | "title": "React Native: Run Android" |
| 34 | }, |
| 35 | { |
| 36 | "command": "reactNative.runIos", |
| 37 | "title": "React Native: Run iOS" |
| 38 | }, |
| 39 | { |
| 40 | "command": "reactNative.startPackager", |
| 41 | "title": "React Native: Start Packager" |
| 42 | }, |
| 43 | { |
| 44 | "command": "reactNative.stopPackager", |
| 45 | "title": "React Native: Stop Packager" |
| 46 | } |
| 47 | ], |
| 48 | "debuggers": [ |
| 49 | { |
| 50 | "type": "reactnative", |
| 51 | "label": "React Native", |
| 52 | "program": "./out/debugger/nodeDebugWrapper.js", |
| 53 | "runtime": "node", |
| 54 | "initialConfigurations": [ |
| 55 | { |
| 56 | "name": "Debug Android", |
| 57 | "program": "${workspaceRoot}/.vscode/launchReactNative.js", |
| 58 | "type": "reactnative", |
| 59 | "request": "launch", |
| 60 | "platform": "android", |
| 61 | "internalDebuggerPort": 9090, |
| 62 | "sourceMaps": true, |
| 63 | "outDir": "${workspaceRoot}/.vscode/.react" |
| 64 | }, |
| 65 | { |
| 66 | "name": "Debug iOS", |
| 67 | "program": "${workspaceRoot}/.vscode/launchReactNative.js", |
| 68 | "type": "reactnative", |
| 69 | "request": "launch", |
| 70 | "platform": "ios", |
| 71 | "target": "iPhone 5s", |
| 72 | "internalDebuggerPort": 9090, |
| 73 | "sourceMaps": true, |
| 74 | "outDir": "${workspaceRoot}/.vscode/.react" |
| 75 | } |
| 76 | ], |
| 77 | "configurationAttributes": { |
| 78 | "launch": { |
| 79 | "required": [ |
| 80 | "platform", |
| 81 | "program" |
| 82 | ], |
| 83 | "properties": { |
| 84 | "platform": { |
| 85 | "type": "string", |
| 86 | "description": "The platform ('ios' or 'android') to target" |
| 87 | }, |
| 88 | "program": { |
| 89 | "type": "string", |
| 90 | "description": "The path to launchReactNative.js in the vscode folder" |
| 91 | }, |
| 92 | "target": { |
| 93 | "type": "string", |
| 94 | "description": "'simulator', 'device', or the name of the emulator to run on" |
| 95 | }, |
| 96 | "internalDebuggerPort": { |
| 97 | "type": "number", |
| 98 | "description": "A port to be used to enable automatic reloading of breakpoints when sourcemaps change.", |
| 99 | "default": 9090 |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | ] |
| 106 | }, |
| 107 | "scripts": { |
| 108 | "start": "node node_modules/react-native/local-cli/cli.js start", |
| 109 | "compile": "node ./node_modules/vscode/bin/compile -watch -p ./", |
| 110 | "vscode:prepublish": "gulp" |
| 111 | }, |
| 112 | "extensionDependencies": [ |
| 113 | "andreweinand.node-debug" |
| 114 | ], |
| 115 | "dependencies": { |
| 116 | "applicationinsights": "^0.15.8", |
| 117 | "getmac": "1.0.7", |
| 118 | "q": "^1.4.1", |
| 119 | "winreg": "0.0.13", |
| 120 | "ws": "^1.0.1" |
| 121 | }, |
| 122 | "devDependencies": { |
| 123 | "vscode": "^0.10.7", |
| 124 | "typescript": "^1.7.5", |
| 125 | "vsce": "1.0.0", |
| 126 | "run-sequence": "^1.1.5", |
| 127 | "gulp": "^3.9.0", |
| 128 | "gulp-mocha": "^2.1.3", |
| 129 | "gulp-sourcemaps": "^1.5.2", |
| 130 | "gulp-tslint": "^3.3.1", |
| 131 | "gulp-typescript": "^2.8.0", |
| 132 | "gulp-util": "^3.0.5", |
| 133 | "tslint": "^2.5.1", |
| 134 | "del": "2.2.0" |
| 135 | } |
| 136 | } |