-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
165 lines (165 loc) · 6.72 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "fontawesome-autocomplete",
"displayName": "Font Awesome Auto-complete & Preview",
"version": "1.3.2",
"publisher": "Janne252",
"description": "Autocomplete & preview Font Awesome icons in any language.",
"author": {
"name": "Janne Varjo"
},
"categories": [
"Other"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Font Awesome autocomplete configuration",
"properties": {
"fontAwesomeAutocomplete.version": {
"type": "string",
"enum": [
"4",
"5",
"6"
],
"default": "5",
"description": "Font Awesome major version to use (either 4, 5, or 6)."
},
"fontAwesomeAutocomplete.patterns": {
"type": "array",
"default": [
"**/*.html"
],
"description": "List of glob patters that determine which files will have Font Awesome Autocomplete enabled."
},
"fontAwesomeAutocomplete.triggerWord": {
"type": "string",
"default": "fa-",
"minLength": 1,
"description": "A word that triggers the auto completion of Font Awesome icons. Last character of the trigger word is also the trigger character for auto completion menu."
},
"fontAwesomeAutocomplete.disableTriggerWordAutoClearPatterns": {
"type": "array",
"default": [
"**/*.html"
],
"description": "A list of glob patterns for which the extension should NOT auto-remove the trigger word when a font class name is inserted from the auto completion list."
},
"fontAwesomeAutocomplete.preview.backgroundColor": {
"type": "string",
"default": "#ffffff",
"minLength": 3,
"description": "Background color of a Font Awesome icon preview. Supports any valid CSS color."
},
"fontAwesomeAutocomplete.preview.foregroundColor": {
"type": "string",
"default": "#000000",
"minLength": 3,
"description": "Foreground color of a Font Awesome icon preview. Supports any valid CSS color."
},
"fontAwesomeAutocomplete.insertionTemplate": {
"type": "object",
"default": {
"**/*.html": "{style} {prefix}{name}"
},
"description": "Allows overriding the inserted text per file type when an autocompletion item is selected. Available template placeholders are {style}, {styleName}, {name}, and {prefix}. {name} supports the following formatters: camelCase, kebabCase, pascalCase, and snakeCase. Usage: {name:formatter}, e.g. {name:camelCase}",
"examples": [
{
"**/*.html": "{style} {prefix}{name}"
},
{
"**/*.vue": "<font-awesome-icon :icon=\"['{style}', '{name}']\" />"
},
{
"**/*.vue": "import {fa{name:pascalCase}} from '@fortawesome/free-{styleName}-svg-icons';"
}
]
},
"fontAwesomeAutocomplete.triggerCharacters": {
"type": "array",
"default": [
"f"
],
"description": "List of characters that trigger Font Awesome Autocomplete.",
"deprecationMessage": "This setting is deprecated and replaced by triggerWord in version 0.0.4. This setting can be safely removed."
},
"fontAwesomeAutocomplete.enableElevatedSortPriority": {
"type": "boolean",
"default": true,
"description": "Artificially increases the importance of completion items. Enabled by default as FontAwesome Autocomplete extension only provides suggestions based on the triggerWord setting."
}
}
}
},
"icon": "media/image/icon.png",
"galleryBanner": {
"color": "#1e1c1e",
"theme": "dark"
},
"license": "SEE LICENSE IN LICENSE.txt",
"bugs": {
"url": "https://github.com/Janne252/vscode-fontawesome-auto-complete/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Janne252/vscode-fontawesome-auto-complete.git"
},
"homepage": "https://github.com/Janne252/vscode-fontawesome-auto-complete/blob/master/README.md",
"engines": {
"vscode": "^1.32.0"
},
"keywords": [
"Font Awesome 6",
"Font Awesome 5",
"Font Awesome 4",
"Class names",
"Auto-complete",
"Icon preview"
],
"badges": [
{
"url": "https://img.shields.io/badge/Font%20Awesome%206%20(free)-6.5.2-%23ffd43b",
"href": "https://fontawesome.com/v6/icons",
"description": "Font Awesome 6 (free) 6.5.2"
},
{
"url": "https://img.shields.io/badge/Font%20Awesome%205%20(free)-5.15.4-%23339af0",
"href": "https://fontawesome.com",
"description": "Font Awesome 5 (free) 5.15.4"
},
{
"url": "https://img.shields.io/badge/Font%20Awesome%204-4.7.0-%231d9d74",
"href": "https://fontawesome.com/v4.7.0/",
"description": "Font Awesome 4.7.0"
}
],
"activationEvents": [
"*"
],
"main": "./out/extension",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "ts-mocha -p ./tsconfig.json ./src/**/*.spec.ts --exit",
"extension-test": "npm run compile && node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob-to-regexp": "^0.4.1",
"@types/mocha": "^9.0.0",
"@types/node": "^20.14.8",
"@types/vscode": "^1.32.0",
"@types/yaml": "^1.9.7",
"deep-equal": "^2.2.3",
"glob": "^10.4.2",
"mocha": "^9.1.4",
"ts-mocha": "^9.0.2",
"tslint": "^6.1.3",
"typescript": "^5.5.2",
"vscode-test": "^1.6.1"
},
"dependencies": {
"glob-to-regexp": "^0.4.1",
"yaml": "^2.4.5"
}
}