-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
153 lines (153 loc) · 4.65 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
{
"name": "quick-regex-replacer",
"displayName": "Quick Regex Replacer",
"description": "Configure frequently used find/replace regexs that you can bind to keystrokes or invoke via command palette for quick access",
"version": "1.0.4",
"publisher": "nortakales",
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Snippets",
"Other"
],
"icon": "resources/readme/quick-regex-replacer.png",
"bugs": {
"url": "https://github.com/nortakales/quick-regex-replacer/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/nortakales/quick-regex-replacer.git"
},
"activationEvents": [
"onCommand:quickRegexReplacer.replace.alpha",
"onCommand:quickRegexReplacer.replace.beta",
"onCommand:quickRegexReplacer.replace.gamma",
"onCommand:quickRegexReplacer.replace.delta",
"onCommand:quickRegexReplacer.replace.epsilon"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Quick Regex Replacer",
"properties": {
"quickRegexReplacer.alpha.regex": {
"type": "string",
"default": "[ \\t]*\\|[ \\t]*",
"description": "Regular expression used to match text that will be replaced by \"quickRegexReplacer.alpha.replacement\". The same applies to Beta, Gamma, and so on.",
"markdownDescription": "Regular expression used to match text that will be replaced by `#quickRegexReplacer.alpha.replacement#`. The same applies to Beta, Gamma, and so on."
},
"quickRegexReplacer.alpha.replacement": {
"type": "string",
"default": "\\n ",
"description": "Replacement text that will replace all occurences of \"quickRegexReplacer.alpha.regex\". The same applies to Beta, Gamma, and so on. If not provided, this will be considered an empty string (all ocurrences of your regex will be replaced with an empty string, effectively removing those occurences)",
"markdownDescription": "Replacement text that will replace all occurences of `#quickRegexReplacer.alpha.regex#`. The same applies to Beta, Gamma, and so on. If not provided, this will be considered an empty string (all ocurrences of your regex will be replaced with an empty string, effectively removing those occurences)"
},
"quickRegexReplacer.beta.regex": {
"type": "string"
},
"quickRegexReplacer.beta.replacement": {
"type": "string"
},
"quickRegexReplacer.gamma.regex": {
"type": "string"
},
"quickRegexReplacer.gamma.replacement": {
"type": "string"
},
"quickRegexReplacer.delta.regex": {
"type": "string"
},
"quickRegexReplacer.delta.replacement": {
"type": "string"
},
"quickRegexReplacer.epsilon.regex": {
"type": "string"
},
"quickRegexReplacer.epsilon.replacement": {
"type": "string"
}
}
},
"commands": [
{
"command": "quickRegexReplacer.replace.alpha",
"title": "Replace Alpha",
"category": "Quick Regex Replacer"
},
{
"command": "quickRegexReplacer.replace.beta",
"title": "Replace Beta",
"category": "Quick Regex Replacer"
},
{
"command": "quickRegexReplacer.replace.gamma",
"title": "Replace Gamma",
"category": "Quick Regex Replacer"
},
{
"command": "quickRegexReplacer.replace.delta",
"title": "Replace Delta",
"category": "Quick Regex Replacer"
},
{
"command": "quickRegexReplacer.replace.epsilon",
"title": "Replace Epsilon",
"category": "Quick Regex Replacer"
}
],
"keybindings": [
{
"command": "quickRegexReplacer.replace.alpha",
"key": "ctrl+r 1",
"mac": "cmd+r 1",
"when": "editorTextFocus"
},
{
"command": "quickRegexReplacer.replace.beta",
"key": "ctrl+r 2",
"mac": "cmd+r 2",
"when": "editorTextFocus"
},
{
"command": "quickRegexReplacer.replace.gamma",
"key": "ctrl+r 3",
"mac": "cmd+r 3",
"when": "editorTextFocus"
},
{
"command": "quickRegexReplacer.replace.delta",
"key": "ctrl+r 4",
"mac": "cmd+r 4",
"when": "editorTextFocus"
},
{
"command": "quickRegexReplacer.replace.epsilon",
"key": "ctrl+r 5",
"mac": "cmd+r 5",
"when": "editorTextFocus"
}
]
},
"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"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
}
}