-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.58 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.58 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
{
"name": "force-push-button",
"displayName": "Force Push Button",
"description": "Adds a force push button to the source control view",
"version": "1.1.1",
"publisher": "luisbrose",
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/LuisBrose/force-push-button"
},
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished",
"onView:scm"
],
"extensionDependencies": [
"vscode.git"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"scm": [
{
"type": "webview",
"id": "force-push-button",
"name": "Force Push"
}
]
},
"commands": [
{
"command": "force-push-button.forcePushRepo",
"title": "Force Push",
"icon": "$(arrow-up)",
"category": "Git"
}
],
"menus": {
"scm/title": [
{
"command": "force-push-button.forcePushRepo",
"when": "scmProvider == git && gitOpenRepositoryCount > 0 && forcePushAvailable",
"group": "navigation@-1"
}
]
},
"configuration": {
"title": "Force Push Button",
"properties": {
"forcePushButton.updateInterval": {
"type": "number",
"default": 1000,
"minimum": 100,
"maximum": 10000,
"description": "Interval in milliseconds to check for Git state changes"
},
"forcePushButton.showNotifications": {
"type": "boolean",
"default": true,
"description": "Show notifications for force push success/failure"
},
"forcePushButton.alignment": {
"type": "string",
"enum": [
"top",
"center",
"bottom"
],
"default": "top",
"description": "Vertical alignment of the force push button in the source control view"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"package": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.60.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"eslint": "^9.25.1",
"typescript": "^5.8.3",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^2.24.0"
}
}