-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 5.11 KB
/
package.json
File metadata and controls
142 lines (142 loc) · 5.11 KB
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
{
"name": "copy-github-url",
"version": "0.17.0",
"publisher": "mattlott",
"displayName": "Copy GitHub URL",
"description": "Copy GitHub URL for current location to clipboard.",
"repository": {
"type": "git",
"url": "https://github.com/differentmatt/vscode-copy-github-url"
},
"homepage": "https://github.com/differentmatt/vscode-copy-github-url/blob/main/README.md",
"bugs": "https://github.com/differentmatt/vscode-copy-github-url/issues",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#009933",
"theme": "dark"
},
"engines": {
"vscode": "^1.74.0",
"node": ">=18.0.0"
},
"license": "MIT",
"categories": [
"Other",
"Snippets"
],
"main": "./dist/extension",
"contributes": {
"commands": [
{
"command": "extension.gitHubUrl",
"title": "Copy GitHub URL"
},
{
"command": "extension.gitHubUrlPerma",
"title": "Copy GitHub URL (Permalink)"
},
{
"command": "extension.gitHubUrlDefault",
"title": "Copy GitHub URL (Main)"
},
{
"command": "extension.gitHubUrlDebug",
"title": "Debug Copy GitHub URL (Non-text files)"
}
],
"keybindings": [
{
"command": "extension.gitHubUrl",
"key": "ctrl+l c",
"when": "editorFocus || activeEditorIsNotText || resourceScheme == 'file' || activeViewlet == 'workbench.view.explorer'"
},
{
"command": "extension.gitHubUrlPerma",
"key": "ctrl+shift+l c",
"when": "editorFocus || activeEditorIsNotText || resourceScheme == 'file' || activeViewlet == 'workbench.view.explorer'"
},
{
"command": "extension.gitHubUrlDefault",
"key": "ctrl+shift+l m",
"when": "editorFocus || activeEditorIsNotText || resourceScheme == 'file' || activeViewlet == 'workbench.view.explorer'"
}
],
"menus": {
"explorer/context": [
{
"command": "extension.gitHubUrl",
"group": "7_modification",
"when": "resourceScheme == 'file'"
},
{
"command": "extension.gitHubUrlPerma",
"group": "7_modification",
"when": "resourceScheme == 'file'"
},
{
"command": "extension.gitHubUrlDefault",
"group": "7_modification",
"when": "resourceScheme == 'file'"
}
]
},
"configuration": {
"title": "Copy github url configuration",
"properties": {
"copyGithubUrl.defaultBranchFallback": {
"type": "string",
"description": "Default branch name to use if it cannot be determined dynamically"
},
"copyGithubUrl.domainOverride": {
"type": "string",
"description": "GitHub domain override, for scenarios like enterprise instances or SSH aliases. E.g. github.example.com"
},
"copyGithubUrl.gitUrl": {
"type": "string",
"description": "Deprecated: Use domainOverride instead. GitHub domain override, for scenarios like enterprise instances or SSH aliases.",
"deprecationMessage": "This setting is deprecated. Please use copyGithubUrl.domainOverride instead."
},
"copyGithubUrl.rootGitFolder": {
"type": "string",
"description": "Provides the relative path to the folder that contains the .git folder for the current opened workspace or folder in multi folder workspace"
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"package": "npm run vscode:prepublish && vsce package",
"webpack": "NODE_ENV=test webpack --mode development",
"lint": "npx standard --fix",
"test": "standard && node ./test/runTest.js"
},
"standard": {
"globals": [
"suite",
"test",
"setup",
"teardown",
"__INSTRUMENTATION_KEY__"
]
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.74.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.1",
"glob": "^11.1.0",
"globals": "^15.14.0",
"mocha": "^11.0.1",
"sinon": "^19.0.2",
"standard": "^17.1.2",
"typescript": "^5.7.2",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"@vscode/extension-telemetry": "^0.9.8",
"github-url-from-git": "^1.5.0"
}
}