package.json 5.9 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.2.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
      },
      {
        "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 117 118 119 120 121
    "menus": {
      "view/title": [
        {
          "command": "gl.refreshSidebar",
          "group": "navigation"
        }
      ]
    },
    "viewsContainers": {
122 123 124 125 126 127 128
      "activitybar": [
        {
          "id": "gitlab-workflow",
          "title": "GitLab Workflow",
          "icon": "src/assets/images/light/gitlab-logo.svg"
        }
      ]
F
Fatih Acet 已提交
129 130
    },
    "views": {
131 132
      "gitlab-workflow": [
        {
F
Fatih Acet 已提交
133 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"
        },
        {
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
        },
        "gitlab.ignoreCertificateErrors": {
          "type": "boolean",
          "default": false,
          "description": "Ignore TLS/SSL certificate errors when calling the GitLab API"
186
        }
F
Fatih Acet 已提交
187
      }
F
Fatih Acet 已提交
188
    }
F
Fatih Acet 已提交
189 190 191 192
  },
  "scripts": {
    "postinstall": "node ./node_modules/vscode/bin/install",
    "test": "node ./node_modules/vscode/bin/test",
F
Fatih Acet 已提交
193
    "eslint": "eslint --max-warnings 0 --ext .js .",
194
    "format": "prettier --write '**/*.{js,json}'",
F
Fatih Acet 已提交
195
    "publish": "vsce publish"
F
Fatih Acet 已提交
196 197
  },
  "devDependencies": {
A
alpcanaydin 已提交
198 199
    "@types/mocha": "^2.2.42",
    "eslint": "^4.18.1",
A
alpcanaydin 已提交
200
    "eslint-config-airbnb-base": "^12.1.0",
201
    "eslint-config-prettier": "^2.9.0",
A
alpcanaydin 已提交
202
    "eslint-plugin-import": "^2.9.0",
203
    "eslint-plugin-prettier": "^2.6.0",
A
alpcanaydin 已提交
204
    "prettier": "^1.11.0",
A
alpcanaydin 已提交
205
    "typescript": "^2.6.1"
F
Fatih Acet 已提交
206 207
  },
  "dependencies": {
F
Fatih Acet 已提交
208
    "@types/node": "^7.0.43",
F
Fatih Acet 已提交
209
    "execa": "^0.9.0",
F
Fatih Acet 已提交
210
    "moment": "^2.22.2",
F
Fatih Acet 已提交
211 212 213 214
    "request-promise": "^4.2.2",
    "url": "^0.11.0",
    "vscode": "^1.1.6"
  }
M
Matthias Wirtz 已提交
215
}