forked from chendonming/weather
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 6.3 KB
/
package.json
File metadata and controls
167 lines (167 loc) · 6.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
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
{
"name": "weather-for-code",
"displayName": "Weather for Code",
"description": "Weather extension with support for cities worldwide",
"version": "1.2.6",
"pricing": "Free",
"engines": {
"vscode": "^1.106.1"
},
"publisher": "erbanku",
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"icon": "images/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/erbanku/weather-extension-for-code.git"
},
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.weather",
"title": "Weather: View/Update Weather"
},
{
"command": "extension.replacecity",
"title": "Weather: Change City"
},
{
"command": "extension.setupWizard",
"title": "Weather: Run Setup Wizard"
}
],
"configuration": [
{
"title": "Weather Extension",
"properties": {
"weather.key": {
"type": "string",
"default": "579fbf44a7b24519a9d50e35258c1467",
"description": "Your QWeather API key. Get a free key at https://dev.qweather.com/. WARNING: Default API key will expire soon."
},
"weather.apiUrl": {
"type": "string",
"default": "https://devapi.qweather.com",
"description": "Weather API server URL (e.g., https://api.qweather.com). Required if using paid API key."
},
"weather.language": {
"type": "string",
"default": "en",
"enum": [
"zh",
"zh-hant",
"en",
"ug",
"de",
"es",
"fr",
"it",
"ja",
"ko",
"ru",
"hi",
"th",
"ar",
"pt",
"bn",
"ms",
"nl",
"el",
"la",
"sv",
"id",
"pl",
"tr",
"cs",
"et",
"vi",
"fil",
"fi",
"he",
"is",
"nb"
],
"enumDescriptions": [
"简体中文 (Simplified Chinese)",
"繁體中文 (Traditional Chinese)",
"English (US)",
"ئۇيغۇرچە (Uighur)",
"Deutsch (German)",
"Español (Spanish)",
"Français (French)",
"Italiano (Italian)",
"日本語 (Japanese)",
"한국어 (Korean)",
"Русский (Russian)",
"हिन्दी (Hindi)",
"ไทย (Thai)",
"العربية (Arabic)",
"Português (Portuguese)",
"বাংলা (Bengali)",
"Bahasa Melayu (Malay)",
"Nederlands (Dutch)",
"Ελληνικά (Greek)",
"Latina (Latin)",
"Svenska (Swedish)",
"Bahasa Indonesia (Indonesian)",
"Polski (Polish)",
"Türkçe (Turkish)",
"Čeština (Czech)",
"Eesti (Estonian)",
"Tiếng Việt (Vietnamese)",
"Filipino",
"Suomi (Finnish)",
"עברית (Hebrew)",
"Íslenska (Icelandic)",
"Norsk Bokmål (Norwegian)"
],
"description": "Weather data display language. Changes take effect immediately for new weather queries."
},
"weather.position": {
"type": "string",
"default": "left",
"enum": [
"left",
"right"
],
"description": "Status bar display position. Changes take effect on next weather update."
},
"weather.autoUpdate": {
"type": "boolean",
"default": true,
"description": "Automatically update weather every 2 hours. Changes take effect immediately."
},
"weather.showLifeIndex": {
"type": "boolean",
"default": true,
"description": "Show life index information in status bar. Changes take effect on next weather update."
}
}
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "yarn run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^24.10.1",
"@types/vscode": "^1.106.1",
"eslint": "^9.39.1",
"glob": "^13.0.0",
"mocha": "^11.7.5",
"typescript": "^5.9.3",
"@vscode/test-electron": "^2.5.2"
},
"dependencies": {
"axios": "^1.13.2"
}
}