-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.7 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.7 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
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
{
"name": "code-vide",
"displayName": "CodeVide",
"description": "Vscode extension that mimics the behavior of the Bionic Reading API. Inspired by TextVide.",
"version": "0.2.0",
"publisher": "timescam",
"icon": "docs/logo.png",
"galleryBanner": {
"color": "#0098FF",
"theme": "dark"
},
"license": "MIT",
"homepage": "https://github.com/timescam/code-vide",
"bugs": {
"url": "https://github.com/timescam/code-vide/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/timescam/code-vide.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Visualization"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "code-vide.toggle",
"title": "CodeVide: Toggle"
}
],
"configuration": {
"title": "CodeVide",
"properties": {
"codeVide.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable CodeVide"
},
"codeVide.sep": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
},
"description": "Separator to use before and after the bold part. Can be a single string or an array of [prefix, suffix].",
"default": ""
},
"codeVide.fixationPoint": {
"type": "number",
"description": "Controls how much of each word is bold. Level 1 bolds larger chunks (best for quick reading), while Level 5 uses minimal bolding (best for careful reading).",
"default": 1,
"minimum": 1,
"maximum": 5
},
"codeVide.extraContrast": {
"type": "boolean",
"description": "Whether to set the later half of text to thin for extra contrast.",
"default": false
},
"codeVide.debounceDelay": {
"type": "number",
"default": 150,
"minimum": 0,
"maximum": 1000,
"description": "Delay in milliseconds before updating the text decorations after changes. Do not change this value unless you know what you are doing."
},
"codeVide.currentLineOnly": {
"type": "boolean",
"default": false,
"description": "Only apply decorations to the current cursor line."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "pnpm run compile && pnpm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.1",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
}
}