-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
139 lines (139 loc) · 5.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
{
"name": "cucumber-official",
"displayName": "Cucumber",
"description": "Cucumber for Visual Studio Code",
"version": "1.10.0",
"publisher": "CucumberOpen",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Programming Languages",
"Formatters",
"Linters",
"Testing"
],
"keywords": [
"Cucumber",
"Gherkin",
"Feature"
],
"repository": {
"type": "git",
"url": "git://github.com/cucumber/vscode.git"
},
"icon": "images/icon.png",
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "cucumber",
"aliases": [
"Cucumber"
],
"extensions": [
".feature"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./images/icon.svg",
"dark": "./images/icon.svg"
}
}
],
"configurationDefaults": {
"[cucumber]": {
"editor.semanticHighlighting.enabled": true
}
},
"configuration": {
"title": "Cucumber",
"properties": {
"cucumber.features": {
"markdownDescription": "The `cucumber.features` setting overrides where the extension\nshould look for `.feature` files.\n\nIf no feature files are found, [autocomplete](#autocomplete)\nwill not work.\n\nDefault value:\n\n```json\n{\n \"cucumber.features\": [\n \"src/test/**/*.feature\",\n \"features/**/*.feature\",\n \"tests/**/*.feature\",\n \"*specs*/**/*.feature\"\n ]\n}\n```",
"type": "array",
"required": false,
"default": [
"src/test/**/*.feature",
"features/**/*.feature",
"tests/**/*.feature",
"*specs*/**/*.feature"
]
},
"cucumber.glue": {
"markdownDescription": "The `cucumber.glue` setting overrides where the extension\nshould look for source code where step definitions and\nparameter types are defined.\n\nIf no glue files are found, [autocomplete](#autocomplete)\nwill not work, and all Gherkin steps will be underlined as\nundefined. [Generate step definition](#generate-step-definition)\nwill not work either.\n\nDefault value:\n\n```json\n{\n \"cucumber.glue\": [\n \"*specs*/**/*.cs\",\n \"features/**/*.js\",\n \"features/**/*.jsx\",\n \"features/**/*.php\",\n \"features/**/*.py\",\n \"features/**/*.rs\",\n \"features/**/*.rb\",\n \"features/**/*.ts\",\n \"features/**/*.tsx\",\n \"features/**/*_test.go\",\n \"src/test/**/*.java\",\n \"tests/**/*.py\",\n \"tests/**/*.rs\"\n ]\n}\n```",
"type": "array",
"required": false,
"default": [
"*specs*/**/*.cs",
"features/**/*.js",
"features/**/*.jsx",
"features/**/*.php",
"features/**/*.py",
"features/**/*.rs",
"features/**/*.rb",
"features/**/*.ts",
"features/**/*.tsx",
"features/**/*_test.go",
"src/test/**/*.java",
"tests/**/*.py",
"tests/**/*.rs"
]
},
"cucumber.parameterTypes": {
"markdownDescription": "Override the `cucumber.parameterTypes` setting if your Cucumber Expressions\nare using [Custom Parameter Types](https://github.com/cucumber/cucumber-expressions#custom-parameter-types) that are defined outside your `cucumber.glue` setting.\n\nParameter Types in the `cucumber.glue` globs will be picked up automatically.\n\nDefault value:\n\n```json\n{\n \"cucumber.parameterTypes\": []\n}\n```\n\nFor example, if you're using the `actor` parameter type from [@cucumber/screenplay](https://github.com/cucumber/screenplay.js#actors) you'll have to declare this in the `parameterTypes` setting:\n\n````json\n{\n \"cucumber.parameterTypes\": [\n { \"name\": \"actor\", \"regexp\": \"[A-Z][a-z]+\" }\n ]\n}\n````",
"type": "array",
"required": false,
"default": []
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"esbuild-extension": "esbuild ./src/extension.ts --external:vscode --bundle --outfile=out/extension.js --format=cjs --platform=node --minify --sourcemap",
"build": "npm run esbuild-extension",
"compile": "tsc --build",
"prepare": "husky && npm run copy-wasms",
"copy-wasms": "mkdir -p out && cp node_modules/@cucumber/language-service/dist/*.wasm out",
"pretest": "npm run compile",
"eslint": "eslint src --ext ts",
"eslint-fix": "eslint src --ext ts --max-warnings 0 --fix",
"test": "node ./dist/src/test/runTest.js",
"prepublishOnly": "npm run update-settings-docs",
"update-settings-docs": "./scripts/update-settings-docs.sh",
"vscode-types-compatible": "./scripts/vscode-types-compatible.sh",
"package": "vsce package",
"publish": "vsce publish"
},
"lint-staged": {
"README.md": "npm run update-settings-docs",
"src/**/*.ts": "npm run eslint-fix"
},
"dependencies": {
"@cucumber/language-server": "1.6.0",
"vscode-languageclient": "9.0.1"
},
"devDependencies": {
"@types/glob": "8.1.0",
"@types/mocha": "10.0.9",
"@types/vscode": "1.82.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@vscode/test-electron": "2.4.1",
"@vscode/vsce": "2.32.0",
"esbuild": "0.24.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-n": "17.13.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"glob": "11.0.0",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"mocha": "10.8.2",
"prettier": "3.3.3",
"typescript": "5.6.3"
}
}