-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
162 lines (162 loc) · 4.46 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
{
"name": "vscode-phabricator",
"displayName": "Phabricator",
"description": "Phabricator support in VSCode",
"publisher": "christianvuerings",
"version": "1.0.15",
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Other"
],
"repository": {
"url": "https://github.com/christianvuerings/vscode-phabricator"
},
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"configurationDefaults": {
"[plaintext]": {
"workbench.editor.languageDetection": false
}
},
"configuration": [
{
"title": "Phabricator",
"properties": {
"phabricator.apiToken": {
"description": "Generate your phabricator API token: https://phabricator.example.com/settings/user/USERNAME/page/apitokens/",
"scope": "window",
"type": "string"
},
"phabricator.baseUrl": {
"description": "Base URL for the phabricator repo: https://phabricator.example.com/",
"scope": "window",
"type": "string"
},
"phabricator.diffNotifications": {
"default": false,
"description": "Show notifications when diffs get accepted",
"scope": "window",
"type": "boolean"
},
"phabricator.enableTelemetry": {
"default": true,
"description": "Enable usage data and errors tracking (Google Analytics)",
"scope": "window",
"type": "boolean"
}
}
}
],
"commands": [
{
"command": "phabricator-vscode.browseRepository",
"title": "Phabricator: Browse repository"
},
{
"command": "phabricator-vscode.listReadyToLandDiffs",
"title": "Phabricator: List ready to land diffs"
},
{
"command": "phabricator-vscode.updateCache",
"title": "Phabricator: Update cache"
},
{
"command": "phabricator-vscode.setArcanistEditorToVscode",
"title": "Phabricator: Set Arcanist editor to VS Code"
},
{
"command": "phabricator-vscode.unsetArcanistEditorToVscode",
"title": "Phabricator: Unset Arcanist editor to VS Code"
},
{
"command": "phabricator-vscode.openDiffusionLink",
"title": "Open in Diffusion"
},
{
"command": "phabricator-vscode.copyDiffusionUrl",
"title": "Copy Diffusion Url"
}
],
"menus": {
"commandPalette": [
{
"command": "phabricator-vscode.openDiffusionLink",
"when": "inArcanistProject"
},
{
"command": "phabricator-vscode.copyDiffusionUrl",
"when": "inArcanistProject"
}
],
"explorer/context": [
{
"when": "inArcanistProject",
"command": "phabricator-vscode.openDiffusionLink",
"group": "navigation"
},
{
"when": "inArcanistProject",
"command": "phabricator-vscode.copyDiffusionUrl",
"group": "6_copypath"
}
],
"editor/context": [
{
"command": "phabricator-vscode.openDiffusionLink",
"when": "inArcanistProject && editorTextFocus",
"group": "navigation"
},
{
"command": "phabricator-vscode.copyDiffusionUrl",
"when": "inArcanistProject && editorTextFocus",
"group": "9_cutcopypaste"
}
]
}
},
"scripts": {
"compile": "tsc -p ./",
"eslint": "eslint ./src/**/*.ts",
"pretest": "npm run compile",
"test": "TZ=UTC node ./out/test/runTest.js",
"vscode:prepublish": "npm run compile",
"watch": "tsc -watch -p ./"
},
"galleryBanner": {
"color": "#d6336c",
"theme": "dark"
},
"icon": "images/phabricator.png",
"license": "MIT",
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^9.0.0",
"@types/node": "^14.14.28",
"@types/node-fetch": "^2.5.8",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"eslint": "^7.20.0",
"glob": "^7.1.6",
"mocha": "^9.1.3",
"sinon": "^9.2.4",
"typescript": "^4.1.5",
"vscode-test": "^1.5.0"
},
"dependencies": {
"@types/sinon": "^9.0.10",
"@types/uuid": "^8.3.0",
"execa": "^5.0.0",
"find-up": "^5.0.0",
"fuse.js": "^6.4.6",
"got": "^11.8.1",
"node-fetch": "^2.6.1",
"open": "^7.4.1",
"uuid": "^8.3.2"
}
}