-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
106 lines (106 loc) · 3.51 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
{
"name": "vscode-format-context-menu",
"displayName": "Format in context menus",
"description": "VSCode extension to format multiple files with right click context menu",
"version": "1.0.4",
"publisher": "lacroixdavid1",
"icon": "assets/icon.png",
"author": {
"name": "David Lacroix",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"format multiple files",
"format",
"context menu"
],
"repository": {
"type": "git",
"url": "https://github.com/lacroixdavid1/vscode-format-context-menu.git"
},
"homepage": "https://github.com/lacroixdavid1/vscode-format-context-menu/blob/master/README.md",
"bugs": {
"url": "https://github.com/lacroixdavid1/vscode-format-context-menu/issues",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Other",
"Formatters"
],
"activationEvents": [
"onCommand:extension.formatSelectedFilesFromExplorerContext",
"onCommand:extension.formatSelectedFilesFromScmContext",
"onCommand:extension.formatSelectedFileFromEditorTileContext"
],
"main": "./out/extension",
"contributes": {
"configuration": [
{
"title": "Format From Context Menu",
"properties": {
"formatContextMenu.saveAfterFormat": {
"type": "boolean",
"default": true,
"description": "Save file after formatting.",
"scope": "window"
},
"formatContextMenu.closeAfterSave": {
"type": "boolean",
"default": false,
"description": "Close file after saving. This does nothing unless you have enabled saving after formatting.",
"scope": "window"
}
}
}
],
"commands": [
{
"command": "extension.formatSelectedFilesFromExplorerContext",
"title": "Format"
},
{
"command": "extension.formatSelectedFilesFromScmContext",
"title": "Format"
},
{
"command": "extension.formatSelectedFileFromEditorTileContext",
"title": "Format"
}
],
"menus": {
"explorer/context": [
{
"command": "extension.formatSelectedFilesFromExplorerContext"
}
],
"scm/resourceState/context": [
{
"command": "extension.formatSelectedFilesFromScmContext"
}
],
"editor/title/context": [
{
"command": "extension.formatSelectedFileFromEditorTileContext"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && export CODE_TESTS_WORKSPACE=./src/test/workspace && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"tslint": "^5.8.0",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
}
}