-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 3.96 KB
/
Copy pathpackage.json
File metadata and controls
142 lines (142 loc) · 3.96 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
135
136
137
138
139
140
141
142
{
"name": "jbockle-format-files",
"displayName": "Format Files",
"description": "Formats all files in the current workspace, selected folder or glob",
"icon": "icon.png",
"version": "3.4.0",
"publisher": "jbockle",
"repository": {
"type": "git",
"url": "https://github.com/jbockle/format-files.git"
},
"engines": {
"vscode": "^1.54.0"
},
"galleryBanner": {
"color": "#009CFF",
"theme": "light"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onCommand:formatFiles.start.workspace",
"onCommand:formatFiles.start.workspaceFolder",
"onCommand:formatFiles.start.fromGlob"
],
"main": "./out/extension",
"extensionDependencies": [
"vscode.git"
],
"contributes": {
"configuration": [
{
"properties": {
"formatFiles.logLevel": {
"scope": "resource",
"type": "string",
"default": "debug",
"enum": [
"debug",
"info",
"warn",
"error"
]
},
"formatFiles.extensionsToInclude": {
"scope": "resource",
"type": "string",
"description": "Glob pattern of file extensions to include"
},
"formatFiles.excludedFolders": {
"scope": "resource",
"type": "array",
"items": {
"type": "string"
},
"description": "Comma seperated glob pattern of files to exclude",
"default": [
"node_modules",
".vscode",
".git",
"dist",
".chrome"
]
},
"formatFiles.excludePattern": {
"scope": "resource",
"type": "string",
"description": "Comma seperated glob pattern of files to exclude"
},
"formatFiles.inheritWorkspaceExcludedFiles": {
"scope": "resource",
"type": "boolean",
"description": "Determines if Format Files will inherit workspace excluded files",
"default": true
},
"formatFiles.runOrganizeImports": {
"scope": "resource",
"type": "boolean",
"description": "Whether or not to run 'Organize Imports' when formatting files",
"default": false
},
"formatFiles.useGitIgnore": {
"scope": "resource",
"type": "boolean",
"description": "If the workspace folder is a git repository, skips files that git ignores",
"default": true
}
}
}
],
"commands": [
{
"command": "formatFiles.start.workspace",
"title": "Start Format Files: Workspace"
},
{
"command": "formatFiles.start.workspaceFolder",
"title": "Start Format Files: This Folder",
"enablement": "explorerViewletVisible && filesExplorerFocus && explorerResourceIsFolder"
},
{
"command": "formatFiles.start.fromGlob",
"title": "Start Format Files: From Glob"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "formatFiles.start.workspaceFolder",
"group": "navigation@-1"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "npm run lint && npm run clean && tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src/**/*.ts",
"clean": "rimraf out/*"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/micromatch": "^4.0.2",
"@types/node": "^14.*",
"@types/vscode": "^1.54",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"eslint": "^7.31.0",
"jest": "^27.0.6",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.4",
"ts-node": "^10.1.0",
"typescript": "^4.3.5"
},
"dependencies": {
"fdir": "^5.1.0",
"micromatch": "^4.0.4"
}
}