-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathpackage.json
221 lines (221 loc) · 6.05 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
211
212
213
214
215
216
217
218
219
220
221
{
"name": "sort-lines",
"displayName": "Sort lines",
"description": "Sorts lines of text",
"version": "1.12.0",
"license": "MIT",
"bugs": {
"url": "https://github.com/Tyriar/vscode-sort-lines/issues"
},
"type": "commonjs",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint ./src/*.ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map"
},
"homepage": "https://github.com/Tyriar/vscode-sort-lines",
"repository": {
"type": "git",
"url": "https://github.com/Tyriar/vscode-sort-lines"
},
"publisher": "Tyriar",
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension",
"browser": "./dist/web/extension.js",
"contributes": {
"commands": [
{
"command": "sortLines.sortLines",
"title": "Sort lines (ascending, case sensitive)"
},
{
"command": "sortLines.sortLinesCaseInsensitive",
"title": "Sort lines (ascending, case insensitive)"
},
{
"command": "sortLines.sortLinesCaseInsensitiveUnique",
"title": "Sort lines (unique ascending, case insensitive)"
},
{
"command": "sortLines.sortLinesReverse",
"title": "Sort lines (descending, case sensitive)"
},
{
"command": "sortLines.sortLinesLineLength",
"title": "Sort lines (line length ascending)"
},
{
"command": "sortLines.sortLinesLineLengthReverse",
"title": "Sort lines (line length descending)"
},
{
"command": "sortLines.sortLinesVariableLength",
"title": "Sort lines (variable length ascending)"
},
{
"command": "sortLines.sortLinesVariableLengthReverse",
"title": "Sort lines (variable length descending)"
},
{
"command": "sortLines.sortLinesNatural",
"title": "Sort lines (natural)"
},
{
"command": "sortLines.sortLinesUnique",
"title": "Sort lines (unique ascending, case sensitive)"
},
{
"command": "sortLines.removeDuplicateLines",
"title": "Sort lines (remove duplicate lines)"
},
{
"command": "sortLines.keepOnlyDuplicateLines",
"title": "Sort lines (keep only duplicated lines)"
},
{
"command": "sortLines.keepOnlyNotDuplicateLines",
"title": "Sort lines (keep only not duplicated lines)"
},
{
"command": "sortLines.sortLinesShuffle",
"title": "Sort lines (shuffle)"
}
],
"configuration": {
"type": "object",
"title": "Sort Lines",
"properties": {
"sortLines.filterBlankLines": {
"type": "boolean",
"default": false,
"description": "Filter out blank (empty or whitespace-only) lines."
},
"sortLines.ignoreUnselectedLastLine": {
"type": "boolean",
"default": false,
"description": "Ignore unselected last line. Allows selection by line numbers."
},
"sortLines.sortEntireFile": {
"type": "boolean",
"default": false,
"description": "Sort entire file if no selection is active."
}
}
},
"keybindings": [
{
"command": "sortLines.sortLines",
"key": "f9",
"when": "editorTextFocus"
}
],
"menus": {
"editor/context": [
{
"command": "sortLines.sortLines",
"when": "editorTextFocus && !editorReadonly",
"group": "sortLines@1"
},
{
"submenu": "sortLines",
"when": "editorTextFocus && !editorReadonly",
"group": "sortLines@2"
}
],
"sortLines": [
{
"command": "sortLines.sortLines",
"group": "2_sortLines@1"
},
{
"command": "sortLines.sortLinesCaseInsensitive",
"group": "2_sortLines@2"
},
{
"command": "sortLines.sortLinesCaseInsensitiveUnique",
"group": "2_sortLines@3"
},
{
"command": "sortLines.sortLinesReverse",
"group": "2_sortLines@4"
},
{
"command": "sortLines.sortLinesLineLength",
"group": "2_sortLines@5"
},
{
"command": "sortLines.sortLinesLineLengthReverse",
"group": "2_sortLines@6"
},
{
"command": "sortLines.sortLinesVariableLength",
"group": "2_sortLines@7"
},
{
"command": "sortLines.sortLinesVariableLengthReverse",
"group": "2_sortLines@8"
},
{
"command": "sortLines.sortLinesNatural",
"group": "2_sortLines@9"
},
{
"command": "sortLines.sortLinesUnique",
"group": "2_sortLines@10"
},
{
"command": "sortLines.removeDuplicateLines",
"group": "2_sortLines@11"
},
{
"command": "sortLines.keepOnlyDuplicateLines",
"group": "2_sortLines@12"
},
{
"command": "sortLines.keepOnlyNotDuplicateLines",
"group": "2_sortLines@13"
},
{
"command": "sortLines.sortLinesShuffle",
"group": "2_sortLines@14"
}
]
},
"submenus": [
{
"id": "sortLines",
"label": "Sort lines"
}
]
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/eslint__js": "^8.42.3",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.9",
"@types/node": "^20.14.8",
"@types/vscode": "^1.95.0",
"@types/webpack-env": "^1.18.5",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.14.0",
"mocha": "^10.8.2",
"ts-loader": "^9.5.1",
"typescript-eslint": "^8.13.0",
"typescript": "^5.6.3",
"webpack-cli": "^5.1.4",
"webpack": "^5.96.1"
},
"icon": "images/icon.png"
}