package.json 5.3 KB
Newer Older
F
Fatih Acet 已提交
1
{
F
Fatih Acet 已提交
2 3 4
  "name": "gitlab-workflow",
  "displayName": "GitLab Workflow",
  "description": "GitLab VSCode integration",
F
Fatih Acet 已提交
5
  "version": "0.6.0",
F
Fatih Acet 已提交
6
  "publisher": "fatihacet",
M
Matthias Wirtz 已提交
7
  "license": "MIT",
F
Fatih Acet 已提交
8 9 10 11
  "repository": {
    "type": "git",
    "url": "https://gitlab.com/fatihacet/gitlab-vscode-extension"
  },
F
Fatih Acet 已提交
12 13 14
  "engines": {
    "vscode": "^1.19.0"
  },
M
Master  
Matthias Wirtz 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27
  "categories": [
    "Other"
  ],
  "keywords": [
    "git",
    "gitlab",
    "merge request",
    "pipeline",
    "ci cd"
  ],
  "activationEvents": [
    "*"
  ],
28 29 30 31 32 33 34 35
  "bugs": {
    "url": "https://gitlab.com/fatihacet/gitlab-vscode-extension/issues",
    "email": "acetfatih@gmail.com"
  },
  "galleryBanner": {
    "color": "#805DE7",
    "theme": "dark"
  },
F
Fatih Acet 已提交
36
  "main": "./src/extension",
F
Fatih Acet 已提交
37
  "icon": "src/assets/logo.png",
F
Fatih Acet 已提交
38
  "contributes": {
M
Matthias Wirtz 已提交
39 40
    "commands": [
      {
F
Fatih Acet 已提交
41 42 43 44 45 46 47 48
        "command": "gl.setToken",
        "title": "GitLab: Set GitLab Personal Access Token"
      },
      {
        "command": "gl.removeToken",
        "title": "GitLab: Remove your GitLab Personal Access Token"
      },
      {
F
Fatih Acet 已提交
49
        "command": "gl.showIssuesAssignedToMe",
F
Fatih Acet 已提交
50 51 52
        "title": "GitLab: Show issues assigned to me"
      },
      {
F
Fatih Acet 已提交
53
        "command": "gl.showMergeRequestsAssignedToMe",
F
Fatih Acet 已提交
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
        "title": "GitLab: Show merge requests assigned to me"
      },
      {
        "command": "gl.openActiveFile",
        "title": "GitLab: Open active file on GitLab"
      },
      {
        "command": "gl.openCurrentMergeRequest",
        "title": "GitLab: Open merge request for current branch"
      },
      {
        "command": "gl.openCreateNewIssue",
        "title": "GitLab: Create new issue on current project"
      },
      {
        "command": "gl.openCreateNewMR",
        "title": "GitLab: Create new merge request on current project"
      },
      {
        "command": "gl.openProjectPage",
        "title": "GitLab: Open current project on GitLab"
75 76 77 78
      },
      {
        "command": "gl.openCurrentPipeline",
        "title": "GitLab: Open current pipeline on GitLab"
F
Fatih Acet 已提交
79 80 81 82
      },
      {
        "command": "gl.pipelineActions",
        "title": "GitLab: Pipeline actions - View, Create, Retry or Cancel"
F
Fatih Acet 已提交
83 84 85 86 87 88 89 90
      },
      {
        "command": "gl.issueSearch",
        "title": "GitLab: Search project issues - (Supports advanced usage)"
      },
      {
        "command": "gl.mergeRequestSearch",
        "title": "GitLab: Search project merge requests - (Supports advanced usage)"
91 92 93 94
      },
      {
        "command": "gl.compareCurrentBranch",
        "title": "GitLab: Compare current branch with master"
F
Fatih Acet 已提交
95 96 97 98
      },
      {
        "command": "gl.createSnippet",
        "title": "GitLab: Create snippet"
F
Fatih Acet 已提交
99 100 101 102
      },
      {
        "command": "gl.validateCIConfig",
        "title": "GitLab: Validate GitLab CI config"
F
Fatih Acet 已提交
103 104 105 106
      },
      {
        "command": "gl.refreshSidebar",
        "title": "GitLab: Refresh sidebar"
F
Fatih Acet 已提交
107
      }
F
Fatih Acet 已提交
108
    ],
F
Fatih Acet 已提交
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
    "menus": {
      "view/title": [
        {
          "command": "gl.refreshSidebar",
          "group": "navigation"
        }
      ]
    },
    "viewsContainers": {
      "activitybar": [{
        "id": "gitlab-workflow",
        "title": "GitLab Workflow",
        "icon": "src/assets/images/light/gitlab-logo.svg"
      }]
    },
    "views": {
      "gitlab-workflow": [{
          "id": "issuesAssignedToMe",
          "name": "Issues assigned to me"
        },
        {
          "id": "issuesCreatedByMe",
          "name": "Issues created by me"
        },
        {
          "id": "mrsCreatedByMe",
          "name": "Merge Requests created by me"
        },
        {
          "id": "mrsAssignedToMe",
          "name": "Merge Requests assigned to me"
        },
        {
          "id": "mrForCurrentBranch",
          "name": "Merge Request for this branch"
        }
      ]
    },
F
Fatih Acet 已提交
147 148 149 150 151 152 153
    "configuration": {
      "title": "GitLab Workflow config",
      "properties": {
        "gitlab.instanceUrl": {
          "type": "string",
          "default": "https://gitlab.com",
          "description": "Your GitLab instance URL (default is https://gitlab.com)"
154 155 156 157 158
        },
        "gitlab.showIssueLinkOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab issue link in the status bar"
P
Pierre Carru 已提交
159 160 161 162 163
        },
        "gitlab.ca": {
          "type": "string",
          "default": null,
          "description": "Custom CA file to use (example: /etc/ssl/certs/ca-certificates.crt)"
164 165 166 167 168
        },
        "gitlab.ignoreCertificateErrors": {
          "type": "boolean",
          "default": false,
          "description": "Ignore TLS/SSL certificate errors when calling the GitLab API"
169
        }
F
Fatih Acet 已提交
170
      }
F
Fatih Acet 已提交
171
    }
F
Fatih Acet 已提交
172 173 174 175
  },
  "scripts": {
    "postinstall": "node ./node_modules/vscode/bin/install",
    "test": "node ./node_modules/vscode/bin/test",
F
Fatih Acet 已提交
176
    "eslint": "eslint --max-warnings 0 --ext .js .",
177
    "format": "prettier --write '**/*.{js,json}'",
F
Fatih Acet 已提交
178
    "publish": "vsce publish"
F
Fatih Acet 已提交
179 180
  },
  "devDependencies": {
A
alpcanaydin 已提交
181 182
    "@types/mocha": "^2.2.42",
    "eslint": "^4.18.1",
A
alpcanaydin 已提交
183
    "eslint-config-airbnb-base": "^12.1.0",
184
    "eslint-config-prettier": "^2.9.0",
A
alpcanaydin 已提交
185
    "eslint-plugin-import": "^2.9.0",
186
    "eslint-plugin-prettier": "^2.6.0",
A
alpcanaydin 已提交
187
    "prettier": "^1.11.0",
A
alpcanaydin 已提交
188
    "typescript": "^2.6.1"
F
Fatih Acet 已提交
189 190 191 192 193 194 195 196 197
  },
  "dependencies": {
    "execa": "^0.9.0",
    "opn": "^5.2.0",
    "request-promise": "^4.2.2",
    "url": "^0.11.0",
    "@types/node": "^7.0.43",
    "vscode": "^1.1.6"
  }
M
Matthias Wirtz 已提交
198
}