-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
153 lines (153 loc) · 4.82 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
{
"name": "git-notes",
"displayName": "Git Notes",
"publisher": "jrosco",
"description": "A simple extension designed to handle your Git Notes efficiently.",
"license": "GPL-3.0",
"icon": "media/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/jrosco/vscode-git-notes.git"
},
"version": "0.2.1",
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:plaintext"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Git Notes Extension Settings",
"properties": {
"git-notes.autoCheck": {
"type": "boolean",
"default": true,
"description": "Enable Auto Checking Git notes when vscode starts and when a new file is opened"
},
"git-notes.logLevel": {
"type": "number",
"default": 2,
"description": "Set the logging level (trace=0, debug=1, info=2, warn=3, error=4)"
},
"git-notes.localNoteRef": {
"type": "string",
"default": "refs/notes/commits",
"description": "The local git note ref to use (advanced usage)"
},
"git-notes.remoteNoteRef": {
"type": "string",
"default": "refs/notes/commits",
"description": "The remote git note ref to use (advanced usage)"
},
"git-notes.enableNotifications": {
"type": "boolean",
"default": true,
"description": "Enable General Info Notifications"
},
"git-notes.enableNotificationsWhenNotesFound": {
"type": "boolean",
"default": false,
"description": "Enable Notifications when Git Notes are found"
},
"git-notes.confirmPushAndFetchCommands": {
"type": "boolean",
"default": true,
"description": "Enable confirmation before a Git Push or Git Fetch (enabling this is recommended)"
},
"git-notes.confirmRemovalCommands": {
"type": "boolean",
"default": true,
"description": "Enable confirmation before a Git Note Remove (enabling this is recommended)"
},
"git-notes.confirmPruneCommands": {
"type": "boolean",
"default": true,
"description": "Enable confirmation before a Git Prune in Directory (enabling this is recommended)"
},
"git-notes.sortDateNewestFirst": {
"type": "boolean",
"default": true,
"description": "Sort Git Notes by date (newest first)"
},
"git-notes.gitNotesLoadLimit": {
"type": "number",
"default": 3,
"description": "Number of Git Notes to load at a time."
},
"git-notes.gitUrlSCMProvider": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"github.com/{path1}/{path2}/commit/{commitId}",
"bitbucket.org/{path1}/{path2}/commits/{commitId}",
"gitlab.com/{path1}/{path2}/commit/{commitId}",
"git.launchpad.net/{path1}/commit/?id={commitId}"
],
"description":
"List of SCM commit URLs with placeholders for dynamic path segments and commit IDs. Use {path1}, {path2}, {commitId} etc, as placeholders. You can also add your own custom URLs with appropriate placeholders. 'https://' is added automatically to the URLs."
}
}
},
"commands": [
{
"command": "extension.checkGitNotes",
"title": "Git Note: Check Notes"
},
{
"command": "extension.fetchGitNotes",
"title": "Git Note: Fetch Notes"
},
{
"command": "extension.pushGitNotes",
"title": "Git Note: Push Notes"
},
{
"command": "extension.runWebview",
"title": "Git Note: View Notes"
},
{
"command": "extension.removeGitNote",
"title": "Git Note: Remove Notes"
},
{
"command": "extension.pruneGitNotes",
"title": "Git Note: Prune Notes"
},
{
"command": "extension.addOrEditGitNote",
"title": "Git Note: Add/Edit Notes"
}
]
},
"scripts": {
"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/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.79.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^5.1.3"
},
"dependencies": {
"simple-git": "^3.19.1"
}
}