-
Notifications
You must be signed in to change notification settings - Fork 82
/
package.json
194 lines (194 loc) · 6.42 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "cucumberautocomplete",
"version": "3.0.5",
"publisher": "alexkrechik",
"author": "Alexander Krechik",
"license": "MIT",
"displayName": "Cucumber (Gherkin) Full Support",
"description": "VSCode Cucumber (Gherkin) Full Language Support + Formatting + Autocomplete",
"homepage": "https://github.com/alexkrechik/VSCucumberAutoComplete",
"engines": {
"vscode": "^1.75.0"
},
"repository": {
"type": "git",
"url": "https://github.com/alexkrechik/VSCucumberAutoComplete"
},
"bugs": {
"url": "https://github.com/alexkrechik/VSCucumberAutoComplete/issues"
},
"categories": [
"Programming Languages"
],
"keywords": [
"gherkin",
"cucumber",
"feature",
"autocomplete"
],
"main": "./gclient/out/extension",
"icon": "img/icon.png",
"contributes": {
"languages": [
{
"id": "feature",
"aliases": [
"feature",
"gherkin",
"Gherkin",
"cucumber"
],
"extensions": [
".feature",
".testcase"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./img/cucumber.png",
"dark": "./img/cucumber.png"
}
}
],
"grammars": [
{
"language": "feature",
"scopeName": "text.gherkin.feature",
"path": "./syntaxes/feature.tmLanguage.json"
},
{
"injectTo": [
"text.gherkin.feature"
],
"scopeName": "text.gherkin.feature.json",
"path": "./syntaxes/json-embed.json",
"embeddedLanguages": {
"meta.embedded.block.json": "json"
}
}
],
"snippets": [
{
"language": "feature",
"path": "./snippets.json"
}
],
"configuration": {
"title": "Cucumber Auto Complete settings",
"properties": {
"cucumberautocomplete.steps": {
"description": "Path or array of glob-style-pathes to the steps files",
"type": [
"array",
"string"
],
"required": false
},
"cucumberautocomplete.pages": {
"description": "Object, which consists of 'page name' => 'page object file path' pairs",
"type": "object",
"required": false
},
"cucumberautocomplete.syncfeatures": {
"description": "Will get steps using count from glob-style path or from '**/*.feature' if true",
"type": [
"boolean",
"string"
],
"required": false,
"default": "test/features/*.feature"
},
"cucumberautocomplete.strictGherkinCompletion": {
"description": "Strict comparing of declaration func and gherkin word (ex. show only steps, declared via 'When()' func for the 'When ' string",
"type": "boolean",
"required": false,
"default": false
},
"cucumberautocomplete.strictGherkinValidation": {
"description": "Compare step body and gherkin word during steps validation",
"type": "boolean",
"required": false,
"default": false
},
"cucumberautocomplete.smartSnippets": {
"description": "Change all the parts, that requires some user input (like .*, ([a-z]+), \\w{1,3}) to snippets",
"type": "boolean",
"required": false,
"default": false
},
"cucumberautocomplete.stepsInvariants": {
"description": "Show all the 'or' steps parts as separate suggestions (ex. show `I use a` and `I use b` steps suggestions for the `I use (a|b)` step",
"type": "boolean",
"required": false,
"default": false
},
"cucumberautocomplete.customParameters": {
"description": "Change some steps RegEx parts depending on array of 'parameter' - 'value' key pairs. Parameter could be string or RegEx object",
"type": "array",
"required": false,
"default": []
},
"cucumberautocomplete.skipDocStringsFormat": {
"description": "Skip format of strings, that placed between ''' or \"\"\" strings",
"type": "boolean",
"required": false,
"default": false
},
"cucumberautocomplete.formatConfOverride": {
"description": "Override some formatting via format conf strings = {[key: String]: num | 'relative'}, where key - beggining of the string, num - numeric value of indents",
"type": "object",
"required": false,
"default": {}
},
"cucumberautocomplete.onTypeFormat": {
"description": "Enable ontype formattings (activating after pressing on space, @ and : keys)",
"type": "boolean",
"required": false,
"default": false
},
"cucumberautocomplete.gherkinDefinitionPart": {
"description": "Provide step definition name part of regex(ex. '@(given|when|then|step)\\(' in case of python-like steps. Please ensure, that they are placed in regex match '()' braces",
"type": "string",
"required": false,
"default": false
},
"cucumberautocomplete.stepRegExSymbol": {
"description": "Provide step regex symbol. Ex. it would be \"'\" for When('I do something') definition",
"type": "string",
"required": false,
"default": false
},
"cucumberautocomplete.pureTextSteps": {
"description": "Using steps definitions as a text strings with custom cucumber expressions support",
"type": "boolean",
"required": false,
"default": false
}
}
}
},
"scripts": {
"compile": "tsc -b",
"watch": "tsc -b -w",
"package": "vsce package",
"lint": "eslint ./gclient/src ./gserver/src --ext .ts,.tsx",
"lint:fix": "eslint ./gclient/src ./gserver/src --ext .ts,.tsx --fix",
"postinstall": "cd gclient && npm install && cd ../gserver && npm install && cd ..",
"publish": "vsce publish",
"test:server": "jest",
"test": "npm run test:server"
},
"types": "gserver/src/typings.d.ts",
"devDependencies": {
"@types/node": "^18.14.6",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vscode/vsce": "^2.26.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@types/jest": "^29.5.12"
}
}