-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 2.87 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
{
"name": "vscode-plugin-weibo-hot",
"displayName": "vscode-plugin-weibo-hot",
"description": "hot news",
"version": "0.0.4",
"author": "hitao1234 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/hitao123/vscode-plugin-weibo-hot.git"
},
"keywords": [
"微博热搜",
"知乎热搜"
],
"publisher": "Billow",
"icon": "resources/logo.png",
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "hot-explorer",
"title": "热搜",
"icon": "resources/logo.png"
}
]
},
"views": {
"hot-explorer": [
{
"id": "HotTreeView.weibo",
"name": "微博热搜"
},
{
"id": "HotTreeView.zhihu",
"name": "知乎热搜"
}
]
},
"commands": [
{
"command": "hot-news.refreshWeiBo",
"title": "刷新",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "hot-news.refreshZhihu",
"title": "刷新",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "hot-news.refreshWeiBo",
"when": "view == HotTreeView.weibo",
"group": "navigation"
},
{
"command": "hot-news.refreshZhihu",
"when": "view == HotTreeView.zhihu",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack --config ./build/node-extension.webpack.config.js",
"watch": "webpack --watch --config ./build/node-extension.webpack.config.js",
"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "yarn run test-compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"ts-loader": "^8.0.11",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1",
"webpack": "^5.10.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"@types/node-fetch": "^2.5.8",
"axios": "^0.21.1",
"cheerio": "^1.0.0-rc.5",
"node-fetch": "^2.6.1"
}
}