-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 3.94 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 3.94 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
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "just-blame",
"displayName": "Just Blame: Git Blame annotations",
"publisher": "sapegin",
"author": {
"name": "Artem Sapegin"
},
"description": "Git Blame annotations sidebar, inspired by JetBrains editors",
"icon": "images/icon.png",
"version": "2.0.8",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#ece3fc",
"theme": "light"
},
"keywords": [
"git",
"git blame",
"blame",
"changes",
"log",
"author",
"history",
"source control",
"sidebar",
"annotations"
],
"homepage": "https://github.com/sapegin/vscode-just-blame",
"bugs": {
"url": "https://github.com/sapegin/vscode-just-blame/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/sapegin/vscode-just-blame"
},
"sponsor": {
"url": "https://www.buymeacoffee.com/sapegin"
},
"license": "MIT",
"main": "out/extension.js",
"contributes": {
"commands": [
{
"command": "justBlame.toggleBlame",
"title": "Just Blame: Toggle Git blame annotations",
"enablement": "editorIsOpen && workbench.scm.active"
}
],
"menus": {
"editor/lineNumber/context": [
{
"command": "justBlame.toggleBlame",
"group": "navigation@50",
"when": "editorTextFocus"
}
]
},
"configuration": {
"title": "Just Blame",
"properties": {
"justBlame.colorScale": {
"description": "Colors to show age of blame entries",
"type": "object",
"properties": {
"light": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{6,8}$"
}
},
"dark": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{6,8}$"
}
}
},
"default": {
"light": [
"#a4bed0",
"#aec5d5",
"#b8ccdb",
"#c2d4e0",
"#cddbe5",
"#d7e2ea",
"#e1e9ef",
"#ebf1f5",
"#f5f8fa",
"#fcfdfd"
],
"dark": [
"#65469b",
"#5e4190",
"#573c86",
"#50377b",
"#493371",
"#422e66",
"#3d2b5f",
"#362654",
"#2f214a",
"#291c3f"
]
}
},
"justBlame.locale": {
"description": "Locale to format dates",
"type": "string",
"default": "en-GB"
}
}
}
},
"scripts": {
"vscode:prepublish": "rm -rf out && npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"watch": "npm run esbuild-watch",
"lint": "eslint . --cache --fix",
"format": "prettier --log-level warn --write \"**/*.{js,mjs,cjs,ts,tsx,md}\"",
"pretest": "npm run lint",
"test": "npm run esbuild-base && tsc --noEmit",
"posttest": "npm run format",
"publish": "vsce publish",
"publish:ovsx": "npx ovsx publish",
"prepare": "husky"
},
"devDependencies": {
"@types/node": "^24.0.0",
"@types/vscode": "^1.75.0",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.4",
"eslint": "^9.17.0",
"eslint-config-tamia": "^9.9.1",
"husky": "^9.1.7",
"nano-staged": "^0.9.0",
"prettier": "^3.8.1",
"typescript": "^5.9.3"
},
"dependencies": {
"git-remote-origin-url": "^4.0.0"
},
"nano-staged": {
"*.{js,mjs,cjs,ts,tsx,md}": "prettier --write",
"*.{js,mjs,cjs,ts,tsx}": "eslint --cache --fix"
}
}