-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.2 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
{
"name": "impsorter-vscode",
"displayName": "Impsorter - Sort Imports",
"description": " Help you sort your import statements",
"version": "1.2.3",
"publisher": "nuintun",
"license": "MIT",
"categories": [
"Other",
"Formatters"
],
"icon": "assets/vs-impsorter-logo.png",
"keywords": [
"sort",
"order",
"selection",
"sort imports",
"order imports"
],
"activationEvents": [
"onCommand:extension.sortImportLine",
"onCommand:extension.sortImportsPerLine",
"onCommand:extension.sortImportLinesOnWordGrouping",
"onCommand:extension.sortImportLinesOnMaxCharWidth"
],
"engines": {
"vscode": "^1.28.0"
},
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.sortImportLine",
"title": "Sort Imports: Line import"
},
{
"command": "extension.sortImportLinesOnMaxCharWidth",
"title": "Sort Imports: Limit on max width"
},
{
"command": "extension.sortImportsPerLine",
"title": "Sort Imports: One import per line"
},
{
"command": "extension.sortImportLinesOnWordGrouping",
"title": "Sort Imports: Maximum inputs per line"
}
],
"menus": {
"editor/context": [
{
"when": "editorFocus",
"command": "extension.sortImportLine",
"group": "modification@1"
},
{
"when": "editorHasSelection",
"command": "extension.sortImportLinesOnMaxCharWidth",
"group": "modification@2"
},
{
"when": "editorHasSelection",
"command": "extension.sortImportsPerLine",
"group": "modification@3"
},
{
"when": "editorHasSelection",
"command": "extension.sortImportLinesOnWordGrouping",
"group": "modification@4"
}
]
},
"configuration": {
"type": "object",
"title": "impsorter configuration",
"properties": {
"impsorter.defaultTabWidth": {
"type": "number",
"default": 2,
"description": "Prefered tabwidth"
},
"impsorter.trailingComma": {
"type": "boolean",
"default": false,
"description": "Specifies if trailing-comma should be used or not"
},
"impsorter.inputPerLine": {
"type": "number",
"default": 2,
"description": "Specifies number of inputs per line when command sortImportLinesOnWordGrouping is used"
},
"impsorter.lineMaxWidth": {
"type": "number",
"default": 128,
"description": "Specifies prefered max width on import lines"
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"vscode:prepublish": "npm run compile",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"vscode": "^1.1.36",
"typescript": "^3.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/nuintun/impsorter-vscode.git"
},
"bugs": {
"url": "https://github.com/nuintun/impsorter-vscode/issues"
}
}