-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 5.79 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
{
"name": "regex-text-gen",
"displayName": "Regex Text Generator",
"description": "Generate text based on Regular Expression (regex)",
"publisher": "rioj7",
"license": "MIT",
"version": "0.14.0",
"engines": {"vscode": "^1.40.0"},
"categories": ["Other"],
"keywords": ["text","generate","regex","replace"],
"icon": "images/icon.png",
"galleryBanner": {"color": "#000080", "theme": "dark"},
"activationEvents": [
"onCommand:regexTextGen.generateText"
],
"contributes": {
"commands": [
{
"command": "regexTextGen.generateText",
"title": "Generate text based on Regular Expression (regex)"
}
],
"configuration": {
"title": "Regex Text Gen",
"properties": {
"regexTextGen.defaultGeneratorRegex": {
"type": "string",
"scope": "resource",
"description": "DEPRECATED - use: generatorRegex",
"default": "(a|b|c){5,}",
"deprecationMessage": "use: generatorRegex"
},
"regexTextGen.generatorRegex": {
"type": "string",
"scope": "resource",
"description": "Start of the input box: Generator Regex. default: (a|b|c){5,}",
"default": "(a|b|c){5,}"
},
"regexTextGen.defaultUpperLimit": {
"type": "integer",
"scope": "resource",
"description": "Upperlimit for repetition qualifiers: *, + and {n,}. default: 10",
"default": 10
},
"regexTextGen.baseCharSet": {
"type": "array",
"scope": "resource",
"items": { "type": "string" },
"description": "Character set \".\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: HTab + Basic Latin",
"default": ["\u0009", "\u0020-\u007e"]
},
"regexTextGen.whitespaceCharSet": {
"type": "array",
"scope": "resource",
"items": { "type": "string" },
"description": "Character set \"\\s\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: HTab + SPACE",
"default": ["\u0009", "\u0020"]
},
"regexTextGen.digitCharSet": {
"type": "array",
"scope": "resource",
"items": { "type": "string" },
"description": "Character set \"\\d\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: 0-9",
"default": ["0-9"]
},
"regexTextGen.wordCharSet": {
"type": "array",
"scope": "resource",
"items": { "type": "string" },
"description": "Character set \"\\w\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: 0-9 + a-z + A-Z + UNDERSCORE",
"default": ["_", "0-9", "a-z", "A-Z"]
},
"regexTextGen.originalTextRegex": {
"type": "string",
"scope": "resource",
"description": "Start of the input box: Match Original Text Regex (full Javascript syntax). default: (.*)",
"default": "(.*)"
},
"regexTextGen.predefined": {
"type": "object",
"scope": "resource",
"description": "Object with parameters for predefined cases",
"default": {},
"patternProperties": {
"^.+$": {
"type": "object",
"properties": {
"originalTextRegex": {
"type": "string",
"description": "Start of the input box: Match Original Text Regex (full Javascript syntax). default: .*"
},
"generatorRegex": {
"type": "string",
"description": "Start of the input box: Generator Regex. default: (a|b|c){5,}"
},
"defaultUpperLimit": {
"type": "integer",
"description": "Upperlimit for repetition qualifiers: *, + and {n,}. default: 10"
},
"baseCharSet": {
"type": "array",
"items": { "type": "string" },
"description": "Character set \".\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: HTab + Basic Latin"
},
"whitespaceCharSet": {
"type": "array",
"items": { "type": "string" },
"description": "Character set \"\\s\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: HTab + SPACE"
},
"digitCharSet": {
"type": "array",
"items": { "type": "string" },
"description": "Character set \"\\d\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: 0-9"
},
"wordCharSet": {
"type": "array",
"items": { "type": "string" },
"description": "Character set \"\\w\" will generate from. Array of: single unicode char (\"\\u0009\") or unicode character range (\"a-\\u007a\"). Default: 0-9 + a-z + A-Z + UNDERSCORE"
}
}
}
}
}
}
}
},
"main": "./regex-text-gen.js",
"browser": "./regex-text-gen.js",
"homepage": "https://github.com/rioj7/regex-text-gen",
"bugs": {
"url": "https://github.com/rioj7/regex-text-gen/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/rioj7/regex-text-gen.git"
},
"devDependencies": {
"glob": "^7.1.6",
"mocha": "^9.1.3",
"simple-mock": "^0.8.0"
}
}