-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
68 lines (68 loc) · 1.83 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
{
"name": "center-editor-window",
"displayName": "Center Editor Window",
"description": "Centers your editor window at the current cursor position",
"version": "2.3.0",
"publisher": "kaiwood",
"icon": "images/vscode-center-editor-window-icon.png",
"bugs": "https://github.com/kaiwood/vscode-center-editor-window/issues",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/kaiwood/vscode-center-editor-window"
},
"engines": {
"vscode": "^1.19.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:center-editor-window.center"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "center-editor-window.center",
"title": "Center Editor Window"
}
],
"keybindings": [
{
"command": "center-editor-window.center",
"key": "ctrl+l",
"mac": "ctrl+l",
"when": "editorTextFocus || findWidgetVisible"
}
],
"configuration": [
{
"title": "Center Editor Window configuration",
"properties": {
"center-editor-window.threeStateToggle": {
"type": "boolean",
"default": false,
"description": "Toggle between line center/top/bottom."
},
"center-editor-window.offset": {
"type": "integer",
"default": "0",
"description": "Offset from the bottom when centering. A negative number will move the current line lower than the center."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"typescript": "^3.6.3",
"vscode": "^1.1.36",
"@types/node": "^12.7.8"
}
}