-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
174 lines (174 loc) · 5.56 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
166
167
168
169
170
171
172
173
174
{
"name": "color-my-text",
"version": "1.8.0",
"publisher": "JatinSanghvi",
"engines": {
"vscode": "^1.67.0"
},
"license": "MIT",
"displayName": "Color My Text",
"description": "Create color and style schemes quickly for your files with custom formats.",
"categories": [
"Other"
],
"keywords": [
"bold",
"color",
"decorate",
"italic",
"style",
"text",
"underline"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Color My Text",
"properties": {
"colorMyText.configurations": {
"description": "Specifies the color and style configuration.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"paths": {
"markdownDescription": "Specifies the list of file path patterns e.g. `[\"*.log\", \"todos/**/*.todo\"]`.",
"type": "array",
"items": {
"type": "string"
}
},
"rules": {
"type": "array",
"description": "Specifies the list of text decoration rules.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"patterns": {
"markdownDescription": "Specifies the list of regular expressions for matching the text e.g. `[\"Critical .*\", \"Error .*\"]`.",
"type": "array",
"items": {
"type": "string"
}
},
"matchCase": {
"description": "Specifies whether to perform case-sensitive match.",
"type": "boolean"
},
"color": {
"markdownDescription": "Specifies the terminal ANSI color. _Do not specify to retain original text color._",
"type": "string",
"enum": [
"Black",
"Blue",
"BrightBlack",
"BrightBlue",
"BrightCyan",
"BrightGreen",
"BrightMagenta",
"BrightRed",
"BrightWhite",
"BrightYellow",
"Cyan",
"Green",
"Magenta",
"Red",
"White",
"Yellow"
]
},
"bold": {
"markdownDescription": "Specifies whether to **bold** or unbold text. _Do not specify to retain original font weights._",
"type": "boolean"
},
"italic": {
"markdownDescription": "Specifies whether to _italicize_ or unitalicize text. _Do not specify to retain original font style._",
"type": "boolean"
},
"underline": {
"markdownDescription": "Specifies whether to add or remove underline from text. _Do not specify to retain original text decoration._",
"type": "boolean"
},
"strikeThrough": {
"markdownDescription": "Specifies whether to add or remove ~~strike through~~ from text. _Do not specify to retain original text decoration._",
"type": "boolean"
}
},
"required": [
"patterns"
],
"anyOf": [
{
"required": [
"color"
]
},
{
"required": [
"bold"
]
},
{
"required": [
"italic"
]
},
{
"required": [
"underline"
]
},
{
"required": [
"strikeThrough"
]
}
],
"title": "Setting"
}
}
},
"required": [
"paths",
"rules"
]
}
}
}
}
},
"activationEvents": [
"*"
],
"dependencies": {
"glob": "^8.1.0",
"minimatch": "^5.0.1"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.3",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.39.0",
"mocha": "^10.2.0",
"typescript": "^5.0.4"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/JatinSanghvi/color-my-text-vscode.git"
}
}