-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.34 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.34 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
{
"name": "vscode-extension",
"displayName": "88Code 插件",
"description": "88Code API 管理插件",
"version": "0.1.0",
"publisher": "88code",
"repository": {
"type": "git",
"url": "https://github.com/88code/vscode-extension"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "code88-panel",
"title": "88Code",
"icon": "resources/icon.svg"
}
]
},
"views": {
"code88-panel": [
{
"type": "webview",
"id": "loginView",
"name": "登录",
"when": "!88code:loggedIn"
},
{
"type": "webview",
"id": "dashboardView",
"name": "看板",
"when": "88code:loggedIn"
},
{
"type": "webview",
"id": "subscriptionView",
"name": "订阅详情",
"when": "88code:loggedIn"
},
{
"type": "webview",
"id": "announcementView",
"name": "公告",
"when": "88code:loggedIn"
},
{
"type": "webview",
"id": "settingsView",
"name": "设置"
},
{
"type": "webview",
"id": "friendLinksView",
"name": "友链"
}
]
},
"commands": [
{
"command": "extension.helloWorld",
"title": "Hello World"
},
{
"command": "88code.login",
"title": "登录 88Code"
},
{
"command": "88code.logout",
"title": "退出登录"
},
{
"command": "88code.refreshCredits",
"title": "刷新剩余积分"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"precompile": "node scripts/bump-version.js",
"compile": "tsc -p ./",
"compile-no-bump": "tsc -p ./",
"watch": "tsc -watch -p ./",
"bump-version": "node scripts/bump-version.js"
},
"devDependencies": {
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@vscode/vsce": "^3.6.2",
"typescript": "^4.9.4"
},
"dependencies": {
"@types/crypto-js": "^4.2.2",
"crypto-js": "^4.2.0",
"sm-crypto": "^0.3.13"
}
}