package.json 5.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": "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
      },
      {
        "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 149 150 151 152 153
          "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 已提交
154 155 156 157 158 159 160
    "configuration": {
      "title": "GitLab Workflow config",
      "properties": {
        "gitlab.instanceUrl": {
          "type": "string",
          "default": "https://gitlab.com",
          "description": "Your GitLab instance URL (default is https://gitlab.com)"
161 162 163 164 165
        },
        "gitlab.showIssueLinkOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab issue link in the status bar"
P
Pierre Carru 已提交
166 167 168 169 170
        },
        "gitlab.ca": {
          "type": "string",
          "default": null,
          "description": "Custom CA file to use (example: /etc/ssl/certs/ca-certificates.crt)"
171 172 173 174 175
        },
        "gitlab.ignoreCertificateErrors": {
          "type": "boolean",
          "default": false,
          "description": "Ignore TLS/SSL certificate errors when calling the GitLab API"
176
        }
F
Fatih Acet 已提交
177
      }
F
Fatih Acet 已提交
178
    }
F
Fatih Acet 已提交
179 180 181 182
  },
  "scripts": {
    "postinstall": "node ./node_modules/vscode/bin/install",
    "test": "node ./node_modules/vscode/bin/test",
F
Fatih Acet 已提交
183
    "eslint": "eslint --max-warnings 0 --ext .js .",
184
    "format": "prettier --write '**/*.{js,json}'",
F
Fatih Acet 已提交
185
    "publish": "vsce publish"
F
Fatih Acet 已提交
186 187
  },
  "devDependencies": {
A
alpcanaydin 已提交
188 189
    "@types/mocha": "^2.2.42",
    "eslint": "^4.18.1",
A
alpcanaydin 已提交
190
    "eslint-config-airbnb-base": "^12.1.0",
191
    "eslint-config-prettier": "^2.9.0",
A
alpcanaydin 已提交
192
    "eslint-plugin-import": "^2.9.0",
193
    "eslint-plugin-prettier": "^2.6.0",
A
alpcanaydin 已提交
194
    "prettier": "^1.11.0",
A
alpcanaydin 已提交
195
    "typescript": "^2.6.1"
F
Fatih Acet 已提交
196 197 198 199 200 201 202 203
  },
  "dependencies": {
    "execa": "^0.9.0",
    "request-promise": "^4.2.2",
    "url": "^0.11.0",
    "@types/node": "^7.0.43",
    "vscode": "^1.1.6"
  }
M
Matthias Wirtz 已提交
204
}