package.json 7.4 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": "1.9.2",
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
      },
      {
        "command": "gl.refreshSidebar",
F
Fatih Acet 已提交
106 107 108 109 110
        "title": "GitLab: Refresh sidebar",
        "icon": {
          "light": "src/assets/images/light/refresh.svg",
          "dark": "src/assets/images/dark/refresh.svg"
        }
F
Fatih Acet 已提交
111
      }
F
Fatih Acet 已提交
112
    ],
F
Fatih Acet 已提交
113 114 115 116
    "menus": {
      "view/title": [
        {
          "command": "gl.refreshSidebar",
117
          "when": "view =~ /(issuesAssignedToMe|issuesCreatedByMe|mrsCreatedByMe|mrsAssignedToMe|allProjectMrs|currentBranchInfo)/",
F
Fatih Acet 已提交
118 119 120 121 122
          "group": "navigation"
        }
      ]
    },
    "viewsContainers": {
123 124 125 126 127 128 129
      "activitybar": [
        {
          "id": "gitlab-workflow",
          "title": "GitLab Workflow",
          "icon": "src/assets/images/light/gitlab-logo.svg"
        }
      ]
F
Fatih Acet 已提交
130 131
    },
    "views": {
132 133
      "gitlab-workflow": [
        {
F
Fatih Acet 已提交
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
          "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"
        },
149 150 151 152 153
        {
          "id": "allProjectMrs",
          "name": "All Project Merge Requests",
          "when": "config.gitlab.showProjectMergeRequests"
        },
F
Fatih Acet 已提交
154
        {
F
Fatih Acet 已提交
155 156
          "id": "currentBranchInfo",
          "name": "For current branch"
F
Fatih Acet 已提交
157 158 159
        }
      ]
    },
F
Fatih Acet 已提交
160
    "configuration": {
161
      "title": "GitLab Workflow (GitLab VSCode Extension)",
F
Fatih Acet 已提交
162 163 164 165 166
      "properties": {
        "gitlab.instanceUrl": {
          "type": "string",
          "default": "https://gitlab.com",
          "description": "Your GitLab instance URL (default is https://gitlab.com)"
167
        },
168 169 170 171 172
        "gitlab.showStatusBarLinks": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display all GitLab related link in the status bar (Requires restart of VSCode)"
        },
173 174 175 176
        "gitlab.showIssueLinkOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab issue link in the status bar"
P
Pierre Carru 已提交
177
        },
178 179 180 181 182
        "gitlab.showMrStatusOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab Merge Request status in the status bar"
        },
P
Pierre Carru 已提交
183 184 185 186
        "gitlab.ca": {
          "type": "string",
          "default": null,
          "description": "Custom CA file to use (example: /etc/ssl/certs/ca-certificates.crt)"
187
        },
188 189 190 191 192 193 194 195 196 197
        "gitlab.cert": {
          "type": "string",
          "default": null,
          "description": "Custom Certificate file to use (example: /etc/ssl/certs/certificate.crt)"
        },
        "gitlab.certKey": {
          "type": "string",
          "default": null,
          "description": "Custom Certificate Key file to use (example: /etc/ssl/certs/certificateKey.key)"
        },
198 199 200 201
        "gitlab.ignoreCertificateErrors": {
          "type": "boolean",
          "default": false,
          "description": "Ignore TLS/SSL certificate errors when calling the GitLab API"
J
Julien Duponchelle 已提交
202 203 204 205 206
        },
        "gitlab.remoteName": {
          "type": "string",
          "default": null,
          "description": "Name of the git remote to use in order to locate the Gitlab project"
207
        },
208 209 210 211 212
        "gitlab.pipelineGitRemoteName": {
          "type": "string",
          "default": null,
          "description": "Name of the git remote to use in order to locate the Gitlab project for your pipeline. Keep empty for default"
        },
213 214 215 216
        "gitlab.showPipelineUpdateNotifications": {
          "type": "boolean",
          "default": false,
          "description": "Show notification in VSCode when pipeline status changed"
217 218 219 220 221
        },
        "gitlab.showProjectMergeRequests": {
          "type": "boolean",
          "default": true,
          "description": "Enable the \"All Project Merge Requests\" sidebar pane"
222
        }
F
Fatih Acet 已提交
223
      }
F
Fatih Acet 已提交
224
    }
F
Fatih Acet 已提交
225 226 227 228
  },
  "scripts": {
    "postinstall": "node ./node_modules/vscode/bin/install",
    "test": "node ./node_modules/vscode/bin/test",
F
Fatih Acet 已提交
229
    "eslint": "eslint --max-warnings 0 --ext .js .",
230
    "format": "prettier --write '**/*.{js,json}'",
F
Fatih Acet 已提交
231 232
    "publish": "vsce publish",
    "webview": "cd src/webview && yarn build --watch"
F
Fatih Acet 已提交
233 234
  },
  "devDependencies": {
235 236
    "@types/mocha": "^5.2.5",
    "@types/node": "^10.12.21",
A
alpcanaydin 已提交
237
    "eslint": "^4.18.1",
A
alpcanaydin 已提交
238
    "eslint-config-airbnb-base": "^12.1.0",
239
    "eslint-config-prettier": "^2.9.0",
A
alpcanaydin 已提交
240
    "eslint-plugin-import": "^2.9.0",
241
    "eslint-plugin-prettier": "^2.6.0",
A
alpcanaydin 已提交
242
    "prettier": "^1.11.0",
243 244
    "typescript": "^3.3.1",
    "vscode": "^1.1.26"
F
Fatih Acet 已提交
245 246
  },
  "dependencies": {
247 248
    "execa": "^1.0.0",
    "moment": "^2.24.0",
F
Fatih Acet 已提交
249
    "request-promise": "^4.2.2",
250
    "url": "^0.11.0"
F
Fatih Acet 已提交
251
  }
M
Matthias Wirtz 已提交
252
}