microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
package.json
152lines · modecode
| 1 | { |
| 2 | "name": "vscode-react-native", |
| 3 | "displayName": "React Native Tools", |
| 4 | "version": "0.1.2", |
| 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 | "bugs": "https://github.com/Microsoft/vscode-react-native/issues", |
| 14 | "license": "SEE LICENSE IN LICENSE.txt", |
| 15 | "repository": { |
| 16 | "type": "git", |
| 17 | "url": "https://github.com/Microsoft/vscode-react-native" |
| 18 | }, |
| 19 | "engines": { |
| 20 | "vscode": "^0.10.1" |
| 21 | }, |
| 22 | "categories": [ |
| 23 | "Debuggers", |
| 24 | "Other" |
| 25 | ], |
| 26 | "activationEvents": [ |
| 27 | "workspaceContains:package.json" |
| 28 | ], |
| 29 | "main": "./out/extension/rn-extension", |
| 30 | "contributes": { |
| 31 | "commands": [ |
| 32 | { |
| 33 | "command": "reactNative.runAndroid", |
| 34 | "title": "React Native: Run Android" |
| 35 | }, |
| 36 | { |
| 37 | "command": "reactNative.runIos", |
| 38 | "title": "React Native: Run iOS" |
| 39 | }, |
| 40 | { |
| 41 | "command": "reactNative.startPackager", |
| 42 | "title": "React Native: Start Packager" |
| 43 | }, |
| 44 | { |
| 45 | "command": "reactNative.stopPackager", |
| 46 | "title": "React Native: Stop Packager" |
| 47 | } |
| 48 | ], |
| 49 | "debuggers": [ |
| 50 | { |
| 51 | "type": "reactnative", |
| 52 | "label": "React Native", |
| 53 | "program": "./out/debugger/nodeDebugWrapper.js", |
| 54 | "runtime": "node", |
| 55 | "enableBrekapointsFor": { |
| 56 | "languageIds": [ |
| 57 | "javascript", |
| 58 | "typescript", |
| 59 | "javascriptreact", |
| 60 | "typescriptreact" |
| 61 | ] |
| 62 | }, |
| 63 | "initialConfigurations": [ |
| 64 | { |
| 65 | "name": "Debug Android", |
| 66 | "program": "${workspaceRoot}/.vscode/launchReactNative.js", |
| 67 | "type": "reactnative", |
| 68 | "request": "launch", |
| 69 | "platform": "android", |
| 70 | "internalDebuggerPort": 9090, |
| 71 | "sourceMaps": true, |
| 72 | "outDir": "${workspaceRoot}/.vscode/.react" |
| 73 | }, |
| 74 | { |
| 75 | "name": "Debug iOS", |
| 76 | "program": "${workspaceRoot}/.vscode/launchReactNative.js", |
| 77 | "type": "reactnative", |
| 78 | "request": "launch", |
| 79 | "platform": "ios", |
| 80 | "target": "iPhone 5s", |
| 81 | "internalDebuggerPort": 9090, |
| 82 | "sourceMaps": true, |
| 83 | "outDir": "${workspaceRoot}/.vscode/.react" |
| 84 | } |
| 85 | ], |
| 86 | "configurationAttributes": { |
| 87 | "launch": { |
| 88 | "required": [ |
| 89 | "platform", |
| 90 | "program" |
| 91 | ], |
| 92 | "properties": { |
| 93 | "platform": { |
| 94 | "type": "string", |
| 95 | "description": "The platform ('ios' or 'android') to target" |
| 96 | }, |
| 97 | "program": { |
| 98 | "type": "string", |
| 99 | "description": "The path to launchReactNative.js in the vscode folder" |
| 100 | }, |
| 101 | "target": { |
| 102 | "type": "string", |
| 103 | "description": "'simulator', 'device', or the name of the emulator to run on" |
| 104 | }, |
| 105 | "internalDebuggerPort": { |
| 106 | "type": "number", |
| 107 | "description": "A port to be used to enable automatic reloading of breakpoints when sourcemaps change.", |
| 108 | "default": 9090 |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | ] |
| 115 | }, |
| 116 | "scripts": { |
| 117 | "start": "node node_modules/react-native/local-cli/cli.js start", |
| 118 | "compile": "node ./node_modules/vscode/bin/compile -watch -p ./", |
| 119 | "vscode:prepublish": "gulp", |
| 120 | "test": "node ./node_modules/vscode/bin/test" |
| 121 | }, |
| 122 | "dependencies": { |
| 123 | "applicationinsights": "0.15.8", |
| 124 | "extract-opts": "2.2.0", |
| 125 | "getmac": "1.0.7", |
| 126 | "options": "0.0.6", |
| 127 | "q": "1.4.1", |
| 128 | "semver": "5.1.0", |
| 129 | "typechecker": "2.0.8", |
| 130 | "ultron": "1.0.2", |
| 131 | "winreg": "0.0.16", |
| 132 | "ws": "1.0.1" |
| 133 | }, |
| 134 | "devDependencies": { |
| 135 | "del": "2.2.0", |
| 136 | "gulp": "^3.9.0", |
| 137 | "gulp-mocha": "^2.2.0", |
| 138 | "gulp-sourcemaps": "^1.5.2", |
| 139 | "gulp-tslint": "^3.3.1", |
| 140 | "gulp-typescript": "^2.8.0", |
| 141 | "gulp-util": "^3.0.5", |
| 142 | "mocha-teamcity-reporter": "^1.0.0", |
| 143 | "node-find-files": "0.0.4", |
| 144 | "run-sequence": "^1.1.5", |
| 145 | "sinon": "^1.17.3", |
| 146 | "should": "^8.2.2", |
| 147 | "tslint": "^2.5.1", |
| 148 | "typescript": "^1.7.5", |
| 149 | "vsce": "1.0.0", |
| 150 | "vscode": "^0.10.7" |
| 151 | } |
| 152 | } |