-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.86 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
{
"publisher": "satrong",
"name": "statusbar-switcher",
"displayName": "statusbar-switcher",
"type": "module",
"version": "0.0.5",
"private": true,
"categories": [
"Other"
],
"description": "Switch any configuration in vscode status bar",
"author": "Satrong <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/satrong/vscode-statusbar-switcher#readme",
"repository": {
"type": "git",
"url": "https://github.com/satrong/vscode-statusbar-switcher"
},
"bugs": {
"url": "https://github.com/satrong/vscode-statusbar-switcher/issues"
},
"main": "./dist/extension.cjs",
"icon": "res/logo.png",
"files": [
"LICENSE.md",
"dist/*",
"res/*"
],
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [],
"configuration": {
"title": "statusbar-switcher",
"properties": {
"statusbar-switcher.config": {
"type": "array",
"description": "配置切换列表",
"default": [],
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "显示名称"
},
"target": {
"type": "string",
"enum": [
"global",
"workspace"
],
"default": "global",
"description": "配置作用域,全局或工作区,默认 `global`"
},
"items": {
"type": "array",
"description": "配置项列表",
"default": [],
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "显示值名称"
},
"config": {
"type": "object",
"description": "需要切换的配置项,key-value 形式,如:`{ 'editor.fontSize': 14 }`"
}
}
}
}
}
}
}
}
}
},
"scripts": {
"build": "tsup --env.NODE_ENV production --treeshake",
"dev": "tsup --watch ./src --env.NODE_ENV development",
"typecheck": "tsc --noEmit",
"meta": "vscode-ext-gen --output src/generated/meta.ts --scope statusbar-switcher",
"vscode:prepublish": "pnpm run build",
"pack": "vsce package --no-dependencies",
"publish": "vsce publish --no-dependencies"
},
"devDependencies": {
"@types/node": "~18.19.47",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.0.0",
"reactive-vscode": "^0.2.1",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"vscode-ext-gen": "^0.4.2"
}
}