microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
db80cd4e10b83524bc77c15018effab72cbabeb8

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

package.json

144lines · modecode

1{
2 "name": "vscode-react-native",
3 "displayName": "React Native Tools (Preview)",
4 "version": "0.1.0",
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 "initialConfigurations": [
56 {
57 "name": "Debug Android",
58 "program": "${workspaceRoot}/.vscode/launchReactNative.js",
59 "type": "reactnative",
60 "request": "launch",
61 "platform": "android",
62 "internalDebuggerPort": 9090,
63 "sourceMaps": true,
64 "outDir": "${workspaceRoot}/.vscode/.react"
65 },
66 {
67 "name": "Debug iOS",
68 "program": "${workspaceRoot}/.vscode/launchReactNative.js",
69 "type": "reactnative",
70 "request": "launch",
71 "platform": "ios",
72 "target": "iPhone 5s",
73 "internalDebuggerPort": 9090,
74 "sourceMaps": true,
75 "outDir": "${workspaceRoot}/.vscode/.react"
76 }
77 ],
78 "configurationAttributes": {
79 "launch": {
80 "required": [
81 "platform",
82 "program"
83 ],
84 "properties": {
85 "platform": {
86 "type": "string",
87 "description": "The platform ('ios' or 'android') to target"
88 },
89 "program": {
90 "type": "string",
91 "description": "The path to launchReactNative.js in the vscode folder"
92 },
93 "target": {
94 "type": "string",
95 "description": "'simulator', 'device', or the name of the emulator to run on"
96 },
97 "internalDebuggerPort": {
98 "type": "number",
99 "description": "A port to be used to enable automatic reloading of breakpoints when sourcemaps change.",
100 "default": 9090
101 }
102 }
103 }
104 }
105 }
106 ]
107 },
108 "scripts": {
109 "start": "node node_modules/react-native/local-cli/cli.js start",
110 "compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
111 "vscode:prepublish": "gulp",
112 "test": "node ./node_modules/vscode/bin/test"
113 },
114 "extensionDependencies": [
115 "andreweinand.node-debug"
116 ],
117 "dependencies": {
118 "applicationinsights": "0.15.8",
119 "extract-opts": "2.2.0",
120 "getmac": "1.0.7",
121 "options": "0.0.6",
122 "q": "1.4.1",
123 "typechecker": "2.0.8",
124 "ultron": "1.0.2",
125 "winreg": "0.0.16",
126 "ws": "1.0.1"
127 },
128 "devDependencies": {
129 "del": "2.2.0",
130 "gulp": "^3.9.0",
131 "gulp-mocha": "^2.2.0",
132 "gulp-sourcemaps": "^1.5.2",
133 "gulp-tslint": "^3.3.1",
134 "gulp-typescript": "^2.8.0",
135 "gulp-util": "^3.0.5",
136 "mocha-teamcity-reporter": "^1.0.0",
137 "run-sequence": "^1.1.5",
138 "sinon": "^1.17.3",
139 "tslint": "^2.5.1",
140 "typescript": "^1.7.5",
141 "vsce": "1.0.0",
142 "vscode": "^0.10.7"
143 }
144}