-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
180 lines (180 loc) · 4.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "vscode-open-in-github",
"displayName": "Open In GitHub",
"description": "Provides commands to quickly view the current file on GitHub.",
"license": "MIT",
"version": "1.18.0",
"publisher": "sysoev",
"engines": {
"vscode": "^1.75.0"
},
"files": [
"./out"
],
"categories": [
"Other"
],
"keywords": [
"multi-root ready",
"vscode",
"github",
"bitbucket",
"git"
],
"homepage": "https://github.com/d4rkr00t/vscode-open-in-github",
"repository": {
"type": "git",
"url": "https://github.com/d4rkr00t/vscode-open-in-github.git"
},
"bugs": "https://github.com/d4rkr00t/vscode-open-in-github/issues",
"main": "./out/extension.js",
"icon": "./assets/icon.jpg",
"contributes": {
"menus": {
"editor/context": [
{
"command": "openInGithub.openInGitHubFile",
"group": "OpenInGithub",
"when": "editorTextFocus"
},
{
"command": "openInGithub.copyInGitHubFile",
"group": "OpenInGithub",
"when": "editorTextFocus"
}
]
},
"commands": [
{
"command": "openInGithub.openInGitHubFile",
"title": "Open In GitHub: Open File URL"
},
{
"command": "openInGithub.openInGitHubBlame",
"title": "Open In GitHub: Open Blame URL"
},
{
"command": "openInGithub.openInGitHubHistory",
"title": "Open In GitHub: Open History URL"
},
{
"command": "openInGithub.copyInGitHubFile",
"title": "Open in GitHub: Copy File URL"
},
{
"command": "openInGithub.copyInGitHubBlame",
"title": "Open in GitHub: Copy Blame URL"
},
{
"command": "openInGithub.copyInGitHubHistory",
"title": "Open in GitHub: Copy History URL"
}
],
"configuration": {
"type": "object",
"title": "Open in GitHub",
"properties": {
"openInGitHub.defaultBranch": {
"scope": "resource",
"type": "string",
"default": "master",
"description": "Controls which branch will be treated as default."
},
"openInGitHub.alwaysUseDefaultBranch": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "When enabled skips branch detection and always uses default branch."
},
"openInGitHub.defaultRemote": {
"scope": "resource",
"type": "string",
"default": "origin",
"description": "Controls which remote will be treated as default."
},
"openInGitHub.repositoryType": {
"scope": "resource",
"type": "string",
"default": "auto",
"enum": [
"auto",
"github",
"bitbucket",
"bitbucket-server",
"gitlab"
],
"enumDescriptions": [
"Auto detection of repository type",
"Github",
"Bitbucket",
"Bitbucket Server (uses /projects/<project>/repos/<repo> repository URL scheme)",
"Gitlab"
],
"description": "Defines type of repository"
},
"openInGithub.maxBuffer": {
"scope": "resource",
"type": "number",
"default": 204800,
"description": "Controls the `maxBuffer` allowed when executing git commands."
},
"openInGitHub.excludeCurrentRevision": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Determines whether to disable URL suggestions for the current revision (commit SHA)"
},
"openInGitHub.remoteURLMapping": {
"scope": "resource",
"type": "object",
"default": {},
"description": "Allows to override URL that will be opened for specific remote."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "node ./build.js",
"watch": "node ./build.js --watch",
"package": "tsc --noEmit -p tsconfig.json && node ./build.js --production",
"compile-tests": "tsc -p .",
"watch-tests": "tsc -p . -w",
"pretest": "npm run compile-tests && npm run compile",
"test": "node ./out/test/runTest.js",
"lint:staged": "lint-staged --no-stash"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^16.x",
"@types/ramda": "^0.25.41",
"@types/vscode": "^1.75.0",
"@vscode/test-electron": "^2.1.5",
"esbuild": "^0.15.6",
"glob": "^8.0.3",
"lint-staged": "^10.1.3",
"mocha": "^10.0.0",
"pre-commit": "^1.2.2",
"prettier": "^2.7.1",
"typescript": "^4.8.2"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
]
},
"pre-commit": [
"lint:staged"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"clipboardy": "^2.3.0",
"open": "^8.4.2",
"ramda": "^0.25.0"
}
}