forked from Tyriar/vscode-sort-lines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
154 lines (154 loc) · 4.41 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
{
"name": "sort-lines",
"displayName": "Sort lines",
"description": "Sorts lines of text",
"version": "1.9.1",
"license": "MIT",
"bugs": {
"url": "https://github.com/Tyriar/vscode-sort-lines/issues"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "tslint ./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.47.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:sortLines.sortLines",
"onCommand:sortLines.sortLinesReverse",
"onCommand:sortLines.sortLinesCaseInsensitive",
"onCommand:sortLines.sortLinesCaseInsensitiveUnique",
"onCommand:sortLines.sortLinesLineLength",
"onCommand:sortLines.sortLinesLineLengthReverse",
"onCommand:sortLines.sortLinesVariableLength",
"onCommand:sortLines.sortLinesVariableLengthReverse",
"onCommand:sortLines.sortLinesNatural",
"onCommand:sortLines.sortLinesUnique",
"onCommand:sortLines.removeDuplicateLines",
"onCommand:sortLines.keepOnlyDuplicateLines",
"onCommand:sortLines.sortLinesShuffle"
],
"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.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.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",
"group": "sortLines@1"
}
]
}
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^6.0.40",
"@types/vscode": "^1.47.0",
"@types/webpack-env": "^1.16.3",
"mocha": "^7.1.1",
"ts-loader": "^9.2.6",
"tslint": "^5.9.1",
"tslint-consistent-codestyle": "^1.13.0",
"typescript": "3.7",
"vscode-test": "^1.3.0",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.1"
},
"icon": "images/icon.png"
}