-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 3.65 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
{
"name": "coinpeep",
"displayName": "Coinpeep",
"description": "A vscode extension for help to take a quick peep of cryptocurrency prices as you code",
"version": "0.0.6",
"publisher": "amovane",
"icon":"resources/icon.png",
"engines": {
"vscode": "^1.64.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/amovane/vscode-coinpeep"
},
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"viewsWelcome": [
{
"view": "coinmarketcapTreeView",
"contents": "CoinMarketCap API Key Not found [learn more](https://pro.coinmarketcap.com/).\n[Open Settings](command:workbench.action.openSettings)",
"when": "config.coinpeep.coinmarketcap.apiKey == ''"
}
],
"configuration": {
"properties": {
"coinpeep.coinmarketcap.apiKey": {
"type": "string",
"description": "Your CoinMarketCap API key."
},
"coinpeep.refreshInterval": {
"type": "integer",
"description": "Refresh Interval in milliseconds (default is 10000)",
"default": 10000
},
"coinpeep.statusbar.enable": {
"type": "boolean",
"description": "Display on statusbar",
"default": true
},
"coinpeep.statusbar.coinIds": {
"type": "array",
"description": "Prices show on statusbar (default coin ids is [\"bitcoin\",\"ethereum\"])\n# coin id is use for coingecko API, just find what you need on https://api.coingecko.com/api/v3/coins/list",
"default": [
"bitcoin",
"ethereum"
]
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "coinpeep",
"title": "Coinpeep",
"icon": "resources/light/coinpeep.png"
}
]
},
"commands": [
{
"command": "coinmarketcapTreeView.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "coingeckoTreeView.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
}
],
"views": {
"coinpeep": [
{
"id": "coingeckoTreeView",
"name": "coingecko"
},
{
"id": "coinmarketcapTreeView",
"name": "coinmarketcap"
}
]
},
"menus": {
"view/title": [
{
"command": "coinmarketcapTreeView.refreshEntry",
"when": "view == coinmarketcapTreeView",
"group": "navigation"
},
{
"command": "coingeckoTreeView.refreshEntry",
"when": "view == coingeckoTreeView",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.64.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/test-electron": "^2.0.3",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4"
},
"dependencies": {
"amplitude": "^6.0.0",
"axios": "^0.26.0",
"bignumber.js": "^9.0.2",
"public-ip": "^5.0.0"
}
}