forked from differentmatt/vscode-copy-github-url
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.58 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
{
"name": "copy-github-url",
"version": "0.2.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/master/README.md",
"bugs": "https://github.com/differentmatt/vscode-copy-github-url/issues",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#009933",
"theme": "dark"
},
"engines": {
"vscode": "0.10.x"
},
"license": "MIT",
"categories": [
"Other",
"Snippets"
],
"activationEvents": [
"onCommand:extension.gitHubUrl",
"onCommand:extension.gitHubUrlPerma",
"onCommand:extension.gitHubUrlMaster"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "extension.gitHubUrl",
"title": "Copy GitHub URL"
},
{
"command": "extension.gitHubUrlPerma",
"title": "Copy GitHub URL (Permalink)"
},
{
"command": "extension.gitHubUrlMaster",
"title": "Copy GitHub URL (Master)"
}
],
"keybindings": [
{
"command": "extension.gitHubUrl",
"key": "ctrl+l c",
"when": "editorTextFocus"
},
{
"command": "extension.gitHubUrlPerma",
"key": "ctrl+shift+l c",
"when": "editorTextFocus"
},
{
"command": "extension.gitHubUrlMaster",
"key": "ctrl+shift+l m",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Copy github url configuration",
"properties": {
"rootGitFolder": {
"type": "string",
"description": "Provides the relative path to the folder that contains the .git folder for the current opened workspace"
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"vscode": "^0.11.x"
},
"dependencies": {
"clipboardy": "^1.2.3",
"git-branch": "^0.3.0",
"git-rev-sync": "^1.8.0",
"github-url-from-git": "^1.4.0",
"parse-git-config": "^0.3.2"
}
}