forked from cpmcgrath/codealignment-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (133 loc) · 4.18 KB
/
package.json
File metadata and controls
134 lines (133 loc) · 4.18 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
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
{
"name": "codealignment-vscode",
"displayName": "Code alignment",
"description": "Code Alignment for Visual Studio Code. Based on the Extension for Visual Studio.",
"version": "0.0.1",
"publisher": "cpmcgrath",
"engines": {
"vscode": "^1.19.0"
},
"categories": [
"Formatters"
],
"keywords": [
"align",
"alignment",
"formatting"
],
"repository": {
"type": "git",
"url": "https://github.com/cpmcgrath/codealignment-vscode"
},
"icon": "images/CodeAlignment.png",
"activationEvents": [
"onCommand:codealignment.alignbystring",
"onCommand:codealignment.alignbyequals",
"onCommand:codealignment.alignbyperiod",
"onCommand:codealignment.alignbyquote",
"onCommand:codealignment.alignbyregex",
"onCommand:codealignment.alignbyspace"
],
"main": "./out/extension",
"contributes": {
"configuration":[
{
"title": "codealignment",
"properties": {
"codealignment.stopregexes": {
"type": "array",
"items": {
"type": "string"
},
"default": []
}
}
}
],
"commands": [
{
"command": "codealignment.alignbystring",
"title": "Align by string (Code Alignment)"
},
{
"command": "codealignment.alignbyequals",
"title": "Align by equals (Code Alignment)"
},
{
"command": "codealignment.alignbyperiod",
"title": "Align by period (Code Alignment)"
},
{
"command": "codealignment.alignbyquote",
"title": "Align by quote (Code Alignment)"
},
{
"command": "codealignment.alignbyregex",
"title": "Align by regex (Code Alignment)"
},
{
"command": "codealignment.alignbyspace",
"title": "Align by space (Code Alignment)"
}
],
"keybindings": [
{
"command": "codealignment.alignbystring",
"key": "ctrl+shift+=",
"mac": "cmd+shift+=",
"when": "editorTextFocus"
},
{
"command": "codealignment.alignbyequals",
"key": "ctrl+= ctrl+=",
"mac": "cmd+= cmd+=",
"when": "editorTextFocus"
},
{
"command": "codealignment.alignbyequalsfromcaret",
"key": "ctrl+= ctrl+shift+=",
"mac": "cmd+= cmd+shift+=",
"when": "editorTextFocus"
},
{
"command": "codealignment.alignbyperiod",
"key": "ctrl+= ctrl+.",
"mac": "cmd+= cmd+.",
"when": "editorTextFocus"
},
{
"command": "codealignment.alignbyquote",
"key": "ctrl+= ctrl+'",
"mac": "cmd+= cmd+'",
"when": "editorTextFocus"
},
{
"command": "codealignment.alignbyquotefromcaret",
"key": "ctrl+= ctrl+shift+'",
"mac": "cmd+= cmd+shift+'",
"when": "editorTextFocus"
},
{
"command": "codealignment.alignbyspace",
"key": "ctrl+= ctrl+space",
"mac": "cmd+= cmd+space",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^3.1.6",
"vscode": "^1.1.22"
},
"dependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^11.9.3"
}
}