Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.21 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.21 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
{
"name": "weather",
"displayName": "weather",
"description": "天气小插件,支持全球城市",
"version": "1.1.4",
"engines": {
"vscode": "^1.48.0"
},
"publisher": "chendm",
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"icon": "images/logo.png",
"repository": {
"type": "git",
"url": "git@github.com:chendonming/weather.git"
},
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.weather",
"title": "Weather天气更新/查看"
},
{
"command": "extension.replacecity",
"title": "Replacecity更换城市"
}
],
"configuration": [
{
"title": "weather天气插件",
"properties": {
"weather.key": {
"type": "string",
"default": "579fbf44a7b24519a9d50e35258c1467",
"description": "输入您的和风天气key密钥享受更多API调用次数, 天气插件是全局插件因此改动后需要重启"
},
"weather.position": {
"type": "string",
"default": "left",
"enum": [
"left",
"right"
],
"description": "改变插件的显示位置, 天气插件是全局插件因此改动后需要重启"
},
"weather.autoUpdate": {
"type": "boolean",
"default": true,
"description": "开启后每隔两小时自动更新下天气, 天气插件是全局插件因此改动后需要重启"
},
"weather.showLifeIndex": {
"type": "boolean",
"default": true,
"description": "开启后显示生活指数, 天气插件是全局插件因此改动后需要重启"
}
}
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "yarn run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.48.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
},
"dependencies": {
"axios": "^0.20.0"
}
}