-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
executable file
·121 lines (121 loc) · 3.07 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
{
"name": "vscode-apple-swift-format",
"displayName": "apple-swift-format",
"description": "Formatting Swift code with apple/swift-format.",
"repository": {
"type": "git",
"url": "https://github.com/vknabel/vscode-apple-swift-format"
},
"version": "1.4.3",
"license": "MIT",
"author": {
"name": "Valentin Knabel",
"email": "dev@vknabel.com",
"url": "https://github.com/vknabel"
},
"publisher": "vknabel",
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#FC823F",
"theme": "light"
},
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Formatters",
"Programming Languages",
"Other"
],
"activationEvents": [
"onLanguage:swift"
],
"keywords": [
"swift",
"swiftformat",
"prettifier",
"formatter"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "swift",
"aliases": [
"Swift"
],
"extensions": [
"swift"
]
}
],
"configuration": {
"type": "object",
"title": "apple/swift-format Configuration",
"properties": {
"apple-swift-format.enable": {
"type": "boolean",
"default": true,
"description": "Whether apple/swift-format should actually start up on this project."
},
"apple-swift-format.onlyEnableOnSwiftPMProjects": {
"type": "boolean",
"default": false,
"description": "Only allows the extension to load up when apple/swift-format is available via Swift PM."
},
"apple-swift-format.onlyEnableWithConfig": {
"type": "boolean",
"default": false,
"description": "Only use apple/swift-format when a config exists."
},
"apple-swift-format.path": {
"description": "The location of your globally installed apple/swift-format.",
"scope": "machine",
"default": [
"/usr/bin/env",
"swift-format"
],
"oneOf": [
{
"type": "string",
"default": "/usr/local/bin/swift-format"
},
{
"type": "array",
"minItems": 1,
"default": [
"/usr/bin/env",
"swift-format"
],
"items": {
"type": "string"
}
}
]
},
"apple-swift-format.configSearchPaths": {
"type": "array",
"default": [
".swift-format"
],
"description": "Possible paths for a apple/swift-format config. See https://github.com/apple/swift-format#configuration",
"items": {
"type": "string"
}
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"format": "prettier --write ./*.json ./**/*.ts"
},
"devDependencies": {
"@types/node": "^10.12.10",
"@types/vscode": "^1.26.0",
"prettier": "^2.4.1",
"typescript": "^4.0.0"
},
"dependencies": {}
}