-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
192 lines (192 loc) · 5.83 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "vscode-sundial",
"displayName": "Sundial – Automatic night mode and settings switch",
"version": "3.4.1",
"description": "Automatically change your theme and settings based on your sunset, sunrise, system appearance or other preferences!",
"icon": "assets/icon.png",
"publisher": "muuvmuuv",
"qna": "https://github.com/muuvmuuv/vscode-sundial/issues/new/choose",
"categories": [
"Other"
],
"keywords": [
"auto",
"day",
"night",
"switch",
"settings"
],
"homepage": "https://github.com/muuvmuuv/vscode-sundial",
"bugs": {
"url": "https://github.com/muuvmuuv/vscode-sundial/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/muuvmuuv/vscode-sundial.git"
},
"license": "GPLv3",
"author": {
"name": "Marvin Heilemann",
"email": "[email protected]",
"url": "https://marvin.digital/"
},
"main": "dist/extension.js",
"scripts": {
"dev": "sh compile.sh --watch",
"compile": "sh compile.sh",
"package": "sh compile.sh --minify",
"lint": "eslint --cache --ext js,ts .",
"format": "prettier --ignore-path=.gitignore --write **/*.{js,ts,json,md}",
"vscode:prepublish": "npm run package"
},
"dependencies": {
"dayjs": "^1.10.7",
"got": "^13.0.0",
"is-online": "^10.0.0",
"suncalc": "^1.8.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@release-it/conventional-changelog": "^6.0.0",
"@types/node": "16.x",
"@types/suncalc": "^1.8.1",
"@types/vscode": "^1.74.3",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"esbuild": "^0.18.11",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unicorn": "^47.0.0",
"lefthook": "^1.3.10",
"npm-run-all": "^4.1.5",
"ovsx": "^0.8.0",
"prettier": "^3.0.0",
"release-it": "^15.0.0",
"typescript": "^5.0.0"
},
"engines": {
"vscode": "^1.74.3"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "sundial.switchToNightTheme",
"title": "Sundial: Switch to night theme 🌑"
},
{
"command": "sundial.switchToDayTheme",
"title": "Sundial: Switch to day theme 🌕"
},
{
"command": "sundial.toggleDayNightTheme",
"title": "Sundial: Toggle Day/Night Theme"
},
{
"command": "sundial.enableExtension",
"title": "Sundial: Enable extension"
},
{
"command": "sundial.disableExtension",
"title": "Sundial: Disable extension"
},
{
"command": "sundial.pauseUntilNextCircle",
"title": "Sundial: Pause until next circle"
}
],
"keybindings": [
{
"command": "sundial.toggleDayNightTheme",
"key": "ctrl+alt+t",
"mac": "ctrl+cmd+t"
}
],
"configuration": {
"type": "object",
"title": "Sundial Configurations",
"properties": {
"sundial.sunrise": {
"type": "string",
"default": "07:00",
"description": "Set the sunrise time. (24 hour format)"
},
"sundial.sunset": {
"type": "string",
"default": "19:00",
"description": "Set the sunset time. (24 hour format)"
},
"sundial.latitude": {
"type": "string",
"description": "Latitude of your location to get sunset and sunrise."
},
"sundial.longitude": {
"type": "string",
"description": "Latitude of your location to get sunset and sunrise."
},
"sundial.autoLocale": {
"type": "boolean",
"default": false,
"description": "Automatically set your sunset and sunrise based on your public ip location."
},
"sundial.dayVariable": {
"type": "number",
"default": 0,
"description": "Set a variable to change the theme X minutes before or after sunrise."
},
"sundial.nightVariable": {
"type": "number",
"default": 0,
"description": "Set a variable to change the theme X minutes before or after sunset."
},
"sundial.daySettings": {
"type": "object",
"default": {},
"description": "Set some VSCode settings you would like to override during the day."
},
"sundial.nightSettings": {
"type": "object",
"default": {},
"description": "Set some VSCode settings you would like to override during the night."
},
"sundial.statusBarItemPriority": {
"type": "number",
"default": 100,
"description": "Set the position of the status bar item (higher mean more on the left)."
},
"sundial.interval": {
"type": "number",
"default": 5,
"description": "Set in which interval Sundial should check the time. (in minutes)"
},
"sundial.debug": {
"type": "number",
"default": 1,
"description": "Set debug level: silent = 0, info = 1, error = 2, debug = 3"
}
}
}
},
"badges": [
{
"description": "Language grade",
"url": "https://img.shields.io/lgtm/grade/javascript/g/muuvmuuv/vscode-sundial.svg?logo=lgtm&logoWidth=18",
"href": "https://lgtm.com/projects/g/muuvmuuv/vscode-sundial/context:javascript"
},
{
"description": "Maintainability",
"url": "https://api.codeclimate.com/v1/badges/52f93dc5f852410ef448/maintainability",
"href": "https://codeclimate.com/github/muuvmuuv/vscode-sundial/maintainability"
}
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}