forked from hoovercj/vscode-dimmer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 2.81 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
{
"name": "vscode-dimmer",
"displayName": "VSCode Dimmer",
"description": "",
"version": "2.0.1",
"publisher": "hoovercj",
"engines": {
"vscode": "^1.6.0"
},
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/hoovercj/vscode-dimmer.git"
},
"bugs": {
"url": "https://github.com/hoovercj/vscode-dimmer/issues"
},
"author": {
"name": "Cody Hoover",
"url": "https://github.com/hoovercj"
},
"license": "MIT",
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [{
"command": "dimmer.ToggleDimmer",
"title": "Toggle Dimmer"
}],
"configuration": {
"properties": {
"dimmer.enabled": {
"default": false,
"type": "boolean",
"description": "When set to true, the extension will dim non-selected text."
},
"dimmer.toggleDimmerCommandScope": {
"defualt": "user",
"type": "string",
"enum": [
"user",
"workspace"
],
"description": "Decides whether the `ToggleDimmer` command will affect the user (global) or workspace (local) settings."
},
"dimmer.opacity": {
"default": 50,
"type": "number",
"description": "An integer between 0 and 100 used for the opacity percentage for the dimmed (non-selected) text."
},
"dimmer.context": {
"default": 0,
"type": "number",
"description": "Number of lines before and after the current line that are not dimmed. 0 will dim everything but lines with a selection and a negative number will dim everything except the curent selection. Defaults to 0."
},
"dimmer.delay": {
"default": 0,
"type": "number",
"description": "Delay in milliseconds for dimming the non-selected text to reduce number of API calls in the event of rapid selection changes. Defaults to 0, but set higher if it feels like it is causing problems."
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.3",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
}
}