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