package.json 7.6 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": "2.1.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": {
F
Fatih Acet 已提交
39
    "commands": [{
F
Fatih Acet 已提交
40 41 42 43 44 45 46 47
        "command": "gl.setToken",
        "title": "GitLab: Set GitLab Personal Access Token"
      },
      {
        "command": "gl.removeToken",
        "title": "GitLab: Remove your GitLab Personal Access Token"
      },
      {
F
Fatih Acet 已提交
48
        "command": "gl.showIssuesAssignedToMe",
F
Fatih Acet 已提交
49 50 51
        "title": "GitLab: Show issues assigned to me"
      },
      {
F
Fatih Acet 已提交
52
        "command": "gl.showMergeRequestsAssignedToMe",
F
Fatih Acet 已提交
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
        "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"
74 75 76 77
      },
      {
        "command": "gl.openCurrentPipeline",
        "title": "GitLab: Open current pipeline on GitLab"
F
Fatih Acet 已提交
78 79 80 81
      },
      {
        "command": "gl.pipelineActions",
        "title": "GitLab: Pipeline actions - View, Create, Retry or Cancel"
F
Fatih Acet 已提交
82 83 84 85 86 87 88 89
      },
      {
        "command": "gl.issueSearch",
        "title": "GitLab: Search project issues - (Supports advanced usage)"
      },
      {
        "command": "gl.mergeRequestSearch",
        "title": "GitLab: Search project merge requests - (Supports advanced usage)"
90 91 92 93
      },
      {
        "command": "gl.compareCurrentBranch",
        "title": "GitLab: Compare current branch with master"
F
Fatih Acet 已提交
94 95 96 97
      },
      {
        "command": "gl.createSnippet",
        "title": "GitLab: Create snippet"
F
Fatih Acet 已提交
98 99 100 101
      },
      {
        "command": "gl.validateCIConfig",
        "title": "GitLab: Validate GitLab CI config"
F
Fatih Acet 已提交
102 103 104
      },
      {
        "command": "gl.refreshSidebar",
F
Fatih Acet 已提交
105 106 107 108 109
        "title": "GitLab: Refresh sidebar",
        "icon": {
          "light": "src/assets/images/light/refresh.svg",
          "dark": "src/assets/images/dark/refresh.svg"
        }
F
Fatih Acet 已提交
110
      }
F
Fatih Acet 已提交
111
    ],
F
Fatih Acet 已提交
112
    "menus": {
F
Fatih Acet 已提交
113 114 115 116 117
      "view/title": [{
        "command": "gl.refreshSidebar",
        "when": "view =~ /(issuesAssignedToMe|issuesCreatedByMe|mrsCreatedByMe|mrsAssignedToMe|allProjectMrs|currentBranchInfo)/",
        "group": "navigation"
      }]
F
Fatih Acet 已提交
118 119
    },
    "viewsContainers": {
F
Fatih Acet 已提交
120 121 122 123 124
      "activitybar": [{
        "id": "gitlab-workflow",
        "title": "GitLab Workflow",
        "icon": "src/assets/images/light/gitlab-logo.svg"
      }]
F
Fatih Acet 已提交
125 126
    },
    "views": {
F
Fatih Acet 已提交
127
      "gitlab-workflow": [{
F
Fatih Acet 已提交
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
          "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"
        },
143 144 145 146 147
        {
          "id": "allProjectMrs",
          "name": "All Project Merge Requests",
          "when": "config.gitlab.showProjectMergeRequests"
        },
F
Fatih Acet 已提交
148
        {
F
Fatih Acet 已提交
149 150
          "id": "currentBranchInfo",
          "name": "For current branch"
F
Fatih Acet 已提交
151 152 153
        }
      ]
    },
F
Fatih Acet 已提交
154
    "configuration": {
155
      "title": "GitLab Workflow (GitLab VSCode Extension)",
F
Fatih Acet 已提交
156 157 158 159 160
      "properties": {
        "gitlab.instanceUrl": {
          "type": "string",
          "default": "https://gitlab.com",
          "description": "Your GitLab instance URL (default is https://gitlab.com)"
161
        },
162 163 164 165 166
        "gitlab.showStatusBarLinks": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display all GitLab related link in the status bar (Requires restart of VSCode)"
        },
167 168 169 170
        "gitlab.showIssueLinkOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab issue link in the status bar"
P
Pierre Carru 已提交
171
        },
172 173 174 175 176
        "gitlab.showMrStatusOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab Merge Request status in the status bar"
        },
P
Pierre Carru 已提交
177 178 179 180
        "gitlab.ca": {
          "type": "string",
          "default": null,
          "description": "Custom CA file to use (example: /etc/ssl/certs/ca-certificates.crt)"
181
        },
182 183 184 185 186 187 188 189 190 191
        "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)"
        },
192 193 194 195
        "gitlab.ignoreCertificateErrors": {
          "type": "boolean",
          "default": false,
          "description": "Ignore TLS/SSL certificate errors when calling the GitLab API"
J
Julien Duponchelle 已提交
196 197 198 199 200
        },
        "gitlab.remoteName": {
          "type": "string",
          "default": null,
          "description": "Name of the git remote to use in order to locate the Gitlab project"
201
        },
202 203 204 205 206
        "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"
        },
207 208 209 210
        "gitlab.showPipelineUpdateNotifications": {
          "type": "boolean",
          "default": false,
          "description": "Show notification in VSCode when pipeline status changed"
211 212 213 214 215
        },
        "gitlab.showProjectMergeRequests": {
          "type": "boolean",
          "default": true,
          "description": "Enable the \"All Project Merge Requests\" sidebar pane"
F
Fatih Acet 已提交
216 217 218 219 220
        },
        "gitlab.enableExperimentalFeatures": {
          "type": "boolean",
          "default": false,
          "description": "Enable experimental features including showing Issue details in VSCode"
221
        }
F
Fatih Acet 已提交
222
      }
F
Fatih Acet 已提交
223
    }
F
Fatih Acet 已提交
224 225
  },
  "scripts": {
226
    "preinstall": "cd src/webview ; yarn",
F
Fatih Acet 已提交
227 228
    "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
    "publish": "vsce publish",
F
Fatih Acet 已提交
232
    "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",
249
    "request": "^2.88.0",
F
Fatih Acet 已提交
250
    "request-promise": "^4.2.2",
251
    "url": "^0.11.0"
F
Fatih Acet 已提交
252
  }
M
Matthias Wirtz 已提交
253
}