-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (82 loc) · 1.85 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
{
"name": "kls",
"displayName": "快兰斯财经",
"description": "快兰斯24小时财经直播",
"version": "0.0.6",
"publisher": "Kong",
"engines": {
"vscode": "^1.66.0"
},
"icon": "assets/img/kls.png",
"categories": [
"Other"
],
"keywords": [
"财经",
"快兰斯",
"新闻",
"行情",
"A股"
],
"repository": "https://github.com/Deja-vuuu/kls",
"activationEvents": [
"onView:kls.plugin.webView",
"onCommand:kls.sayHello"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [{
"id": "klsplugin",
"title": "快兰斯24小时财经直播",
"icon": "assets/img/logo.svg"
}]
},
"views": {
"klsplugin": [{
"id": "kls.plugin.webView",
"name": "今日热点",
"type": "webview"
}]
},
"commands": [{
"command": "kls.refresh",
"title": "刷新新闻列表",
"icon": "$(refresh)"
}],
"menus": {
"view/title": [{
"command": "kls.refresh",
"group": "navigation",
"when": "view == kls.plugin.webView"
}]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.66.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"eslint": "^8.14.0",
"glob": "^8.0.1",
"mocha": "^9.2.2",
"typescript": "^4.6.4",
"ts-loader": "^9.2.8",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"@vscode/test-electron": "^2.1.3"
}
}