forked from teledemic/vscode-branch-warning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.18 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
{
"name": "branch-warnings",
"displayName": "Git Branch Warnings",
"description": "Warn when you're on the wrong Git branch, like MAIN",
"version": "1.0.9",
"publisher": "teledemic",
"repository": {
"type": "git",
"url": "https://github.com/teledemic/vscode-branch-warning.git"
},
"homepage": "https://github.com/teledemic/vscode-branch-warning/blob/master/README.md",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#3f3f3f",
"theme": "dark"
},
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:.git",
"onCommand:gitbranchwarn.debug"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "gitbranchwarn.debug",
"title": "Git Branch Warn: Debug"
}
],
"configuration": [
{
"title": "Branch Warnings configuration",
"properties": {
"branchwarnings.suppressPopup": {
"type": "boolean",
"default": false,
"description": "Suppress the more intrusive warning dialog when first switching to a protected branch (only show the warning on the status bar)."
},
"branchwarnings.protectedBranches": {
"type": "array",
"default": [
"main",
"master"
],
"description": "Array of names of protected branches to show warnings for."
},
"branchwarnings.msgTooltip": {
"type": "string",
"default": "This branch has been marked as protected in the branch-warnings extension",
"description": "Allows you to change the warning msg tooltip."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"eslint": "^7.19.0",
"typescript": "^4.1.3"
},
"dependencies": {
"glob-to-regexp": "^0.4.1"
}
}