-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 3.66 KB
/
package.json
File metadata and controls
142 lines (142 loc) · 3.66 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": "codeowners-tree",
"displayName": "CODEOWNERS Tree",
"description": "Generate an interactive tree-like graph of code ownership for folders and files in your project.",
"version": "0.0.14",
"icon": "resources/icon.png",
"publisher": "andrei-ignatev",
"license": "MIT",
"keywords": [
"codeowners",
"owners"
],
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/CODEOWNERS"
],
"main": "./out/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/a-ignatev/codeowners-tree.git"
},
"contributes": {
"views": {
"explorer": [
{
"id": "codeownersTeams",
"name": "Codeowners Teams"
}
]
},
"viewsWelcome": [
{
"view": "codeownersTeams",
"contents": "No codeowners teams. Please check if you have CODEOWNERS file in the workspace."
}
],
"menus": {
"commandPalette": [
{
"command": "codeownersTeams.openGraph",
"when": "false"
}
],
"view/title": [
{
"command": "codeownersTeams.refreshEntries",
"when": "view == codeownersTeams",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "codeownersTeams.downloadGraph",
"when": "view == codeownersTeams && (viewItem == teamViewItem || viewItem == teamViewItemPinned)",
"group": "inline"
},
{
"command": "codeownersTeams.pinTeam",
"when": "view == codeownersTeams && viewItem == teamViewItem",
"group": "inline"
},
{
"command": "codeownersTeams.unpinTeam",
"when": "view == codeownersTeams && viewItem == teamViewItemPinned",
"group": "inline"
}
]
},
"commands": [
{
"command": "codeownersTeams.openGraph",
"category": "Custom",
"title": "Open Codeowners Graph",
"icon": "$(eye)"
},
{
"command": "codeownersTeams.downloadGraph",
"category": "Custom",
"title": "Download Codeowners Graph",
"icon": "$(cloud-download)"
},
{
"command": "codeownersTeams.pinTeam",
"category": "Custom",
"title": "Pin Codeowners Team",
"icon": "$(pin)"
},
{
"command": "codeownersTeams.unpinTeam",
"category": "Custom",
"title": "Unpin Codeowners Team",
"icon": "$(pinned)"
},
{
"command": "codeownersTeams.refreshEntries",
"title": "Refresh Codeowners Teams",
"icon": "$(refresh)"
}
],
"configuration": {
"title": "CODEOWNERS Tree",
"properties": {
"codeownersTeams.pinnedTeams": {
"type": "array",
"default": [],
"description": "Pinned CODEOWNERS teams to show at the top."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.82.0",
"@types/which": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.4",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"typescript": "^5.1.6"
},
"dependencies": {
"@types/graphviz": "^0.0.36",
"graphviz": "^0.0.9",
"which": "^4.0.0"
}
}