-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.47 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.47 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
{
"name": "custom-format",
"displayName": "Custom Format",
"icon": "images/icon.png",
"description": "Run custom CLI commands for formatting files in VSCode",
"version": "1.0.5",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"*"
],
"publisher": "Vehmloewff",
"repository": {
"url": "https://github.com/Vehmloewff/custom-format",
"type": "git"
},
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Custom Format",
"properties": {
"custom-format.formatters": {
"type": "array",
"default": [],
"markdownDescription": "An array of custom formatters. Each formatter should have the `command` and `language` keys. Each command is expected to read the unformatted file content from `stdin`, and print it to `stdout`.",
"scope": "resource",
"examples": [
[
{
"language": "javascript",
"command": "node scripts/custom-formatter.js"
}
],
[
{
"language": "typescript",
"command": "deno fmt -"
}
]
]
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"format": "prettier -w **/**",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.11.7",
"@types/strip-color": "^0.1.0",
"@types/vscode": "^1.49.0",
"typescript": "^4.0.2"
}
}