-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.46 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.46 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
{
"name": "code-kingdom",
"displayName": "Code Kingdom",
"description": "A VSCode extension",
"publisher": "LiRenTech",
"repository": {
"type": "git",
"url": "https://github.com/LiRenTech/vscode-code-kingdom.git"
},
"homepage": "https://github.com/LiRenTech/vscode-code-kingdom",
"version": "0.0.2",
"icon": "resources/icon.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "code-kingdom.showFileTree",
"title": "显示开发人员势力图",
"icon": "$(graph)"
},
{
"command": "code-kingdom.configureAuthorColors",
"title": "配置作者颜色",
"icon": "$(color-mode)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "code-kingdom",
"title": "Code Kingdom",
"icon": "resources/code-kingdom.svg"
}
]
},
"views": {
"code-kingdom": [
{
"id": "code-kingdom-view",
"name": "文件树",
"when": "true"
}
]
},
"menus": {
"view/title": [
{
"command": "code-kingdom.showFileTree",
"when": "view == code-kingdom-view",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "code-kingdom.showFileTree",
"when": "view == code-kingdom-view",
"group": "inline"
}
]
}
},
"scripts": {
"vscode:prepublish": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --minify",
"compile": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --sourcemap",
"watch": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --sourcemap --watch",
"pretest": "pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "^20.10.0",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.2",
"eslint": "^8.54.0",
"typescript": "^5.3.2"
},
"dependencies": {
"ignore": "^5.2.4"
}
}