-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
executable file
·131 lines (131 loc) · 3.21 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
122
123
124
125
126
127
128
129
130
131
{
"name": "vscode-swiftformat",
"displayName": "SwiftFormat",
"description": "Formatting Swift code with nicklockwood/SwiftFormat.",
"repository": {
"type": "git",
"url": "https://github.com/vknabel/vscode-swiftformat"
},
"version": "1.6.10",
"license": "MIT",
"author": {
"name": "Valentin Knabel",
"email": "[email protected]",
"url": "https://github.com/vknabel"
},
"publisher": "vknabel",
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#FC823F",
"theme": "light"
},
"engines": {
"vscode": "^1.80.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": "SwiftFormat Configuration",
"properties": {
"swiftformat.enable": {
"type": "boolean",
"default": true,
"description": "Whether SwiftFormat should actually start up on this project."
},
"swiftformat.onlyEnableOnSwiftPMProjects": {
"type": "boolean",
"default": false,
"description": "Only allows the extension to load up when SwiftFormat is available via Swift PM."
},
"swiftformat.onlyEnableWithConfig": {
"type": "boolean",
"default": false,
"description": "Only use SwiftFormat when a config exists."
},
"swiftformat.path": {
"description": "The location of your globally installed SwiftFormat.",
"scope": "machine",
"default": [
"/usr/bin/env",
"swiftformat"
],
"oneOf": [
{
"type": "string",
"default": "/usr/local/bin/swiftformat"
},
{
"type": "array",
"minItems": 1,
"default": [
"/usr/bin/env",
"swiftformat"
],
"items": {
"type": "string"
}
}
]
},
"swiftformat.options": {
"type": "array",
"default": [],
"description": "Additional options for SwiftFormat: https://github.com/nicklockwood/SwiftFormat#options",
"items": {
"type": "string"
}
},
"swiftformat.configSearchPaths": {
"type": "array",
"default": [
".swiftformat"
],
"description": "Possible paths for SwiftFormat config.",
"items": {
"type": "string"
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"format": "prettier --write ./*.json ./**/*.ts"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@types/vscode": "^1.80.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
},
"dependencies": {
"glob": "^10.3.4"
}
}