-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
210 lines (210 loc) · 6.76 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "line-number-deco",
"displayName": "LineNumberDeco",
"description": "VSCode extension to display relative line numbers",
"publisher": "ShortArrow",
"version": "0.0.9",
"engines": {
"vscode": "^1.76.0"
},
"icon": "images/icon.png",
"keywords": [
"vim",
"neovim",
"nvim",
"helix",
"emacs",
"rownumber",
"relative",
"linenumber",
"number"
],
"categories": [
"Other"
],
"extensionKind": [
"ui",
"workspace"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "line-number-deco.enableRainbow",
"title": "LineNumberDeco: Enable rainbow for workspace"
},
{
"command": "line-number-deco.disableRainbow",
"title": "LineNumberDeco: Disable rainbow for workspace"
},
{
"command": "line-number-deco.enableRainbowForUser",
"title": "LineNumberDeco: Enable rainbow for user"
},
{
"command": "line-number-deco.disableRainbowForUser",
"title": "LineNumberDeco: Disable rainbow for user"
},
{
"command": "line-number-deco.updateColorAtCenterOfRainbow",
"title": "LineNumberDeco: Update color at center of rainbow for workspace"
},
{
"command": "line-number-deco.updateColorAtCenterOfRainbowForUser",
"title": "LineNumberDeco: Update color at center of rainbow for user"
},
{
"command": "line-number-deco.updateColorAtActiveRowNumber",
"title": "LineNumberDeco: Update color at current row number"
},
{
"command": "line-number-deco.updateColorAtActiveRowNumberForUser",
"title": "LineNumberDeco: Update color at current row number for user"
},
{
"command": "line-number-deco.updateColorAtInactiveRowNumber",
"title": "LineNumberDeco: Update color at inactive row number"
},
{
"command": "line-number-deco.updateColorAtInactiveRowNumberForUser",
"title": "LineNumberDeco: Update color at inactive row number for user"
},
{
"command": "line-number-deco.updateColorAtRepeatingDigits",
"title": "LineNumberDeco: Update color of repeating digits for workspace"
},
{
"command": "line-number-deco.updateColorAtRepeatingDigitsForUser",
"title": "LineNumberDeco: Update color of repeating digits for user"
},
{
"command": "line-number-deco.enableRelativeLineNumbers",
"title": "LineNumberDeco: Enable Relative Line Numbers in This workspace"
},
{
"command": "line-number-deco.enableRelativeLineNumbersForUser",
"title": "LineNumberDeco: Enable Relative Line Numbers for user"
},
{
"command": "line-number-deco.disableRelativeLineNumbers",
"title": "LineNumberDeco: Disable Relative Line Numbers in This workspace"
},
{
"command": "line-number-deco.disableRelativeLineNumbersForUser",
"title": "LineNumberDeco: Disable Relative Line Numbers for user"
},
{
"command": "line-number-deco.enableRepeatingDigits",
"title": "LineNumberDeco: Enable repeating digits in this workspace"
},
{
"command": "line-number-deco.disableRepeatingDigits",
"title": "LineNumberDeco: Disable repeating digits color in this workspace"
},
{
"command": "line-number-deco.enableRepeatingDigitsForUser",
"title": "LineNumberDeco: Enable repeating digits color for user"
},
{
"command": "line-number-deco.disableRepeatingDigitsForUser",
"title": "LineNumberDeco: Disable repeating digits color for user"
}
],
"configuration": {
"title": "LineNumberDeco",
"properties": {
"LineNumberDeco.enableRelativeLine": {
"type": "boolean",
"default": true,
"description": "Enable display relative line"
},
"LineNumberDeco.centerColorOfRainbow": {
"type": "string",
"default": "#0000ff",
"description": "Center color of rainbow"
},
"LineNumberDeco.foregroundColorOfRepeatingDigits": {
"type": "string",
"default": "#00ff00",
"description": "Foreground color of Repeating digits"
},
"LineNumberDeco.enableRainbow": {
"type": "boolean",
"default": false,
"description": "Enable rainbow color"
},
"LineNumberDeco.enableRepeatingDigits": {
"type": "boolean",
"default": false,
"description": "Enable color of repeating digits"
},
"LineNumberDeco.activeForeground": {
"type": "string",
"default": "",
"description": "Override color of active relative line number"
},
"LineNumberDeco.foreground": {
"type": "string",
"default": "",
"description": "Override color of inactive relative line number"
}
}
},
"colors": [
{
"id": "LineNumberDeco.activeForeground",
"description": "Color for active relative line number",
"defaults": {
"dark": "editorLineNumber.activeForeground",
"light": "editorLineNumber.activeForeground",
"highContrast": "editorLineNumber.activeForeground",
"highContrastLight": "editorLineNumber.activeForeground"
}
},
{
"id": "LineNumberDeco.foreground",
"description": "Color for relative line number",
"defaults": {
"dark": "editorLineNumber.foreground",
"light": "editorLineNumber.foreground",
"highContrast": "editorLineNumber.foreground",
"highContrastLight": "editorLineNumber.foreground"
}
}
]
},
"scripts": {
"clean": "rimraf ./out",
"publish": "yarn run compile && vsce publish",
"package": "yarn run compile",
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run clean && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "yarn run pretest && node ./out/test/runTest.js",
"generate": "yarn dlx ts-node ./generater/fromPackageJson.ts"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.2.3",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"rimraf": "^5.0.1",
"typescript": "^4.9.5"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ShortArrow/line_number_deco.git"
}
}