-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.3 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.3 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
{
"name": "switch-theme",
"displayName": "switch-theme",
"publisher": "GSZS",
"description": "在不同的时间段内应用不同的主题",
"qna": false,
"version": "2.0.3",
"homepage": "https://github.com/GSZS/switch-theme",
"bugs": {
"url": "https://github.com/GSZS/switch-theme/issues"
},
"keywords": [
"theme",
"vscode",
"vscode-extension",
"switch theme"
],
"icon": "assets/switch-theme.png",
"engines": {
"vscode": "^1.49.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "switchTheme.closeSwitch",
"title": "switchTheme: 关闭自动切换主题"
},
{
"command": "switchTheme.openSwitch",
"title": "switchTheme: 开启自动切换主题"
}
],
"configuration": {
"type": "object",
"title": "Switch Theme",
"properties": {
"switchTheme.defaultTheme": {
"type": "string",
"default": "Visual Studio Light",
"description": "设置当前时间没有匹配任何时间段时设置的主题名称"
},
"switchTheme.interval": {
"type": "number",
"default": 1,
"description": "设置定时器的检查间隔(单位/S)"
},
"switchTheme.switchThemeOptions": {
"type": "array",
"default": [
{
"useTheme": "Visual Studio Light",
"startTime": "07:00",
"endTime": "09:00"
},
{
"useTheme": "Visual Studio Dark",
"startTime": "09:00",
"endTime": "22:00"
}
],
"description": "设置应用Theme的时间区间,采用24(h)小时时间制"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"prettier:fix": "eslint --fix"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.11.7",
"@types/vscode": "^1.49.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0"
},
"_id": "vscode-switch-theme@0.1.0",
"dependencies": {
"dayjs": "^1.9.1"
},
"license": "MIT"
}