-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
155 lines (155 loc) · 3.55 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
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
{
"name": "vscode-ptt",
"displayName": "VSCode 批踢踢 (VSCode PTT)",
"description": "PTT Client for VSCode",
"version": "0.3.2",
"engines": {
"vscode": "^1.32.0"
},
"preview": true,
"categories": [
"Other"
],
"publisher": "Yukai",
"author": {
"email": "[email protected]",
"name": "Yukai Huang",
"url": "https://yukai.dev"
},
"license": "WTFPL",
"activationEvents": [
"onCommand:ptt.login",
"onCommand:ptt.add-board",
"onCommand:ptt.favorite-board",
"onView:pttTree"
],
"repository": {
"type": "git",
"url": "https://github.com/Yukaii/vscode-ptt"
},
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "ptt.login",
"title": "登入",
"category": "PTT"
},
{
"command": "ptt.logout",
"title": "登出",
"category": "PTT"
},
{
"command": "ptt.search-article-by-push",
"title": "搜尋推文數",
"category": "PTT"
},
{
"command": "ptt.add-board",
"title": "新增訂閱看板"
},
{
"command": "ptt.remove-board",
"title": "移除訂閱看板"
},
{
"command": "ptt.search-board-by-push",
"title": "以推文數搜尋"
},
{
"command": "ptt.refresh-article",
"title": "重新整理文章列表",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "ptt.favorite-board",
"title": "從我的最愛新增訂閱"
}
],
"menus": {
"view/title": [
{
"command": "ptt.add-board",
"when": "view == pttTree"
},
{
"command": "ptt.logout",
"when": "view == pttTree"
},
{
"command": "ptt.favorite-board",
"when": "view == pttTree"
},
{
"command": "ptt.refresh-article",
"when": "view == pttTree",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "ptt.remove-board",
"when": "view == pttTree && viewItem == board"
},
{
"command": "ptt.search-board-by-push",
"when": "view == pttTree && viewItem == board"
}
]
},
"views": {
"ptt-explorer": [
{
"id": "pttTree",
"name": "文章列表"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "ptt-explorer",
"title": "VSCode PTT",
"icon": "media/dep.svg"
}
]
},
"configuration": [
{
"title": "VSCode PTT 設定",
"properties": {
"kickLogin": {
"description": "強行登入(踢出已登入使用者)",
"type": "boolean",
"scope": "window",
"default": false
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"cleanAndCompile": "tsc --build --clean && tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && mocha ./out/test/*.js"
},
"devDependencies": {
"@types/http-proxy": "^1.17.0",
"@types/mocha": "^2.2.42",
"@types/node": "^10.14.4",
"dotenv": "^7.0.0",
"tslint": "^5.15.0",
"typescript": "^3.4.1",
"vscode": "^1.1.33"
},
"dependencies": {
"ptt-client": "^0.8.1"
}
}