microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0bbcd4af4fc4614efc6578d1d0002ad2d7ec00d2

Branches

Tags

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

Clone

HTTPS

Download ZIP

package.json

94lines · modepreview

{
    "name": "vscode-react-native",
    "displayName": "vscode-react-native",
    "version": "0.0.1",
    "private": true,
    "publisher": "Microsoft",
    "description": "VS Code Extension for React Native applications",
    "license": "MIT",
    "repository": {
        "type": "git",
        "url": "https://github.com/Microsoft/vscode-react-native"
    },
    "engines": {
        "vscode": "^0.10.1"
    },
    "categories": [
        "Debuggers",
        "Other"
    ],
    "activationEvents": [
        "workspaceContains:package.json"
    ],
    "main": "./out/rn-extension",
    "contributes": {
        "commands": [
            {
                "command": "reactNative.runAndroid",
                "title": "React Native:  Run Android"
            },
            {
                "command": "reactNative.runIos",
                "title": "React Native:  Run iOS"
            },
            {
                "command": "reactNative.startPackager",
                "title": "React Native:  Start Packager"
            },
            {
                "command": "reactNative.stopPackager",
                "title": "React Native:  Stop Packager"
            }
        ],
        "debuggers": [
            {
                "type": "reactnative",
                "label": "React Native",
                "initialConfigurations": [
                    {
                        "name": "Debug Android",
                        "program": "${workspaceRoot}/.vscode/launchReactNative.js",
                        "type": "node",
                        "request": "launch",
                        "args": [
                            "android"
                        ],
                        "sourceMaps": true,
                        "outDir": "${workspaceRoot}/.vscode/"
                    },
                    {
                        "name": "Debug iOS",
                        "program": "${workspaceRoot}/.vscode/launchReactNative.js",
                        "type": "node",
                        "request": "launch",
                        "args": [
                            "ios"
                        ],
                        "sourceMaps": true,
                        "outDir": "${workspaceRoot}/.vscode/"
                    }
                ]
            }
        ]
    },
    "scripts": {
        "start": "node node_modules/react-native/local-cli/cli.js start",
        "vscode:prepublish": "gulp"
    },
    "dependencies": {
        "q": "^1.4.1",
        "websocket": "^1.0.22"
    },
    "devDependencies": {
        "vscode": "^0.10.7",
        "vsce": "^1.0.0",
        "run-sequence": "^1.1.5",
        "gulp": "^3.9.0",
        "gulp-mocha": "^2.1.3",
        "gulp-sourcemaps": "^1.5.2",
        "gulp-tslint": "^3.3.1",
        "gulp-typescript": "^2.8.0",
        "gulp-util": "^3.0.5",
        "tslint": "^2.5.1"
    }
}