-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
147 lines (147 loc) · 4.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
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
{
"name": "nightscout-status-bar",
"displayName": "Nightscout Status Bar",
"description": "VS Code Extension to show Nightscout blood glucose reading in the status bar.",
"icon": "images/nightscout-logo.png",
"version": "0.8.4",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/borkod/vs-code-nightscout-status-bar"
},
"homepage": "https://github.com/borkod/vs-code-nightscout-status-bar",
"bugs": {
"url": "https://github.com/borkod/vs-code-nightscout-status-bar/issues"
},
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"engines": {
"vscode": "^1.94.0"
},
"categories": [
"Other"
],
"pricing": "Free",
"publisher": "borkod",
"keywords": [
"nightscout",
"blood glucose",
"diabetes",
"status bar"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"sponsor": {
"url": "https://github.com/sponsors/borkod"
},
"contributes": {
"commands": [
{
"command": "nightscout-status-bar.update-and-show-date",
"title": "Nightscout: Update and Show Last Entry Date"
}
],
"configuration": {
"title": "Nightscout Status Bar",
"properties": {
"nightscout-status-bar.nightscoutHost": {
"type": "string",
"scope": "machine",
"default": "",
"markdownDescription": "Hostname of your Nightscout instance (e.g. `myinstance.mooo.com`)"
},
"nightscout-status-bar.token": {
"type": "string",
"scope": "machine",
"default": "",
"markdownDescription": "Your Nightscout API token. See [Create Authentication Tokens for Users](https://nightscout.github.io/nightscout/security/#create-authentication-tokens-for-users)"
},
"nightscout-status-bar.glucoseUnits": {
"type": "string",
"scope": "machine",
"enum": ["millimolar", "milligrams"],
"markdownEnumDescriptions": [
"mmol/L (Millimoles Per Litre)",
"mg/dL (Milligrams per 100 millilitres)"
],
"enumItemLabels": ["mmol/L", "mg/dL"],
"default": "milligrams",
"description": "Blood glucose units"
},
"nightscout-status-bar.high-glucose-warning-message.enabled": {
"type": "boolean",
"scope": "machine",
"default": true,
"description": "Enable high glucose warning pop-up message"
},
"nightscout-status-bar.high-glucose-warning-background-color.enabled": {
"type": "boolean",
"scope": "machine",
"default": true,
"description": "Enable high glucose warning background color"
},
"nightscout-status-bar.high-glucose-warning.value": {
"type": "number",
"scope": "machine",
"default": 180,
"description": "High glucose warning value (in mg/dL)"
},
"nightscout-status-bar.low-glucose-warning-message.enabled": {
"type": "boolean",
"scope": "machine",
"default": true,
"description": "Enable low glucose warning pop-up message"
},
"nightscout-status-bar.low-glucose-warning-background-color.enabled": {
"type": "boolean",
"scope": "machine",
"default": true,
"description": "Enable low glucose warning background color"
},
"nightscout-status-bar.low-glucose-warning.value": {
"type": "number",
"scope": "machine",
"default": 70,
"description": "Low glucose warning value (in mg/dL)"
},
"nightscout-status-bar.updateInterval": {
"type": "number",
"scope": "machine",
"default": 10,
"markdownDescription": "Time interval (in minutes) between queries for updated data"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.94.0",
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.11.1",
"esbuild": "^0.24.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.6.2",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}