-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
156 lines (156 loc) · 3.17 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
156
{
"name": "hncode2",
"displayName": "Hacker News for VSCode",
"description": "Browse Hacker News in a tree view tab",
"version": "1.0.1",
"publisher": "sjohanson",
"author": "Søren Johanson <contact@soeren.codes>",
"engines": {
"vscode": "^1.38.0"
},
"bugs": {
"url": "https://github.com/CER10TY/hncode2/issues",
"email": "contact@soeren.codes"
},
"categories": [
"Other"
],
"keywords": [
"hackernews",
"hn",
"widget",
"news",
"hacker"
],
"repository": {
"type": "git",
"url": "https://github.com/cer10ty/hncode2.git"
},
"activationEvents": [
"onView:top-stories"
],
"icon": "resources/HNCode.png",
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "hncode",
"title": "HNCode²",
"icon": "resources/dark/HNCodeS.svg"
}
]
},
"views": {
"hncode": [
{
"id": "top-stories",
"name": "Stories"
}
]
},
"commands": [
{
"command": "hncode.refresh",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "hncode.ask",
"title": "Ask HN",
"enablement": "!ask-enabled"
},
{
"command": "hncode.top",
"title": "Top Stories",
"enablement": "!top-enabled"
},
{
"command": "hncode.new",
"title": "New Stories",
"enablement": "!new-enabled"
},
{
"command": "hncode.show",
"title": "Show HN",
"enablement": "!show-enabled"
}
],
"menus": {
"view/title": [
{
"command": "hncode.refresh",
"when": "view == top-stories",
"group": "navigation"
},
{
"command": "hncode.ask",
"when": "view == top-stories"
},
{
"command": "hncode.top",
"when": "view == top-stories"
},
{
"command": "hncode.new",
"when": "view == top-stories"
},
{
"command": "hncode.show",
"when": "view == top-stories"
}
]
},
"configuration": [
{
"title": "Hacker News for VSCode",
"properties": {
"hncode2.limitation": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 30,
"description": "Set the amount of items to be loaded on the front page."
},
"hncode2.requestTimeout": {
"type": "integer",
"default": 500,
"minimum": 400,
"maximum": 10000,
"description": "Set the timeout for requests in milliseconds (ms)."
},
"hncode2.defaultView": {
"type": "string",
"default": "top",
"description": "Set the Default View of the tree view.\nPossible items are: 'top', 'new', 'ask' and 'show'."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.38.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"tslint": "^5.12.1",
"typedoc": "^0.15.0",
"typescript": "^3.3.1",
"vscode-test": "^1.0.2"
},
"dependencies": {
"typed-rest-client": "^1.5.0"
}
}