-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (48 loc) · 1.26 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (48 loc) · 1.26 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
{
"name": "unit-conversion-hints",
"displayName": "Unit Conversion Hints",
"description": "Shows unit conversion hints (rem ↔ px, and more) in various file types as inline comments and hover tooltips",
"repository": {
"type": "git",
"url": "https://github.com/unscripted/unit-conversion-hints"
},
"version": "1.0.0",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Unit Conversion Hints",
"properties": {
"unitConversionHints.showHover": {
"type": "boolean",
"default": true,
"description": "Show unit conversion hints in hover tooltips"
},
"unitConversionHints.remToPx.baseFontSize": {
"type": "number",
"default": 16,
"description": "Base font size in pixels for rem ↔ px conversions (default: 16px = 1rem)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/vscode": "^1.74.0",
"@types/node": "16.x",
"typescript": "^4.9.4"
}
}