package.json 2.5 KB
Newer Older
M
Matt Bierner 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
{
  "name": "git-extended",
  "displayName": "Git Extended",
  "description": "Git Extended",
  "enableProposedApi": true,
  "version": "0.0.1",
  "publisher": "rebornix",
  "engines": {
    "vscode": "^1.13.0"
  },
  "categories": [
    "Other"
  ],
  "activationEvents": [
    "onView:commits",
    "onView:stash",
    "onView:pr"
  ],
  "main": "./out/extension",
  "contributes": {
    "views": {
      "explorer": [
        {
          "id": "pr",
          "name": "Pull Requests"
        }
      ]
    },
    "commands": [
      {
        "command": "commits.revertCommit",
        "title": "Revert",
        "icon": {
          "dark": "resources/icons/dark/clean.svg",
          "light": "resources/icons/light/clean.svg"
        }
      },
      {
        "command": "commits.refresh",
        "title": "Refresh",
        "icon": {
          "dark": "resources/icons/dark/refresh.svg",
          "light": "resources/icons/light/refresh.svg"
        }
      },
      {
        "command": "pr.refreshList",
        "title": "Refresh",
        "icon": {
          "dark": "resources/icons/dark/refresh.svg",
          "light": "resources/icons/light/refresh.svg"
        }
      },
      {
        "command": "stash.apply",
        "title": "Apply Stash"
      },
      {
        "command": "stash.delete",
        "title": "Delete Stash"
      },
      {
        "command": "stash.pop",
        "title": "Pop Stash"
      },
      {
        "command": "stash.stash",
        "title": "Stash",
        "icon": {
          "dark": "resources/icons/dark/stage.svg",
          "light": "resources/icons/light/stage.svg"
        }
      }
    ],
    "menus": {
      "view/title": [
        {
          "command": "commits.refresh",
          "when": "view == commits",
          "group": "navigation"
        },
        {
          "command": "stash.stash",
          "when": "view == stash",
          "group": "navigation"
        }
      ],
      "view/item/context": [
        {
          "command": "stash.apply",
          "when": "view == stash"
        },
        {
          "command": "stash.pop",
          "when": "view == stash"
        },
        {
          "command": "stash.delete",
          "when": "view == stash"
        }
      ]
    }
  },
  "scripts": {
    "vscode:prepublish": "tsc -p ./",
    "compile": "tsc -watch -p ./"
  },
  "devDependencies": {
    "typescript": "^2.1.4",
    "@types/node": "*"
  },
  "dependencies": {
    "dugite": "^1.28.0",
    "tmp": "^0.0.31",
    "octokat": "^0.8.0",
    "request": "^2.81.0",
    "lodash": "4.17.5"
  }
}