-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
120 lines (120 loc) · 3.69 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
{
"name": "@cucumber/language-service",
"version": "1.6.0",
"description": "Cucumber Language Service",
"type": "module",
"main": "dist/cjs/src/index.js",
"module": "dist/esm/src/index.js",
"types": "dist/esm/src/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js"
},
"./node": {
"import": "./dist/esm/src/tree-sitter-node/NodeParserAdapter.js",
"require": "./dist/cjs/src/tree-sitter-node/NodeParserAdapter.js"
},
"./wasm": {
"import": "./dist/esm/src/tree-sitter-wasm/WasmParserAdapter.js",
"require": "./dist/cjs/src/tree-sitter-wasm/WasmParserAdapter.js"
}
},
"files": [
"dist/cjs/src",
"dist/cjs/package.json",
"dist/esm/src",
"dist/*.wasm",
"node",
"wasm"
],
"scripts": {
"build:cjs": "tsc --build tsconfig.build-cjs.json && cp package.cjs.json dist/cjs/package.json",
"build:esm": "tsc --build tsconfig.build-esm.json",
"build": "npm run build:cjs && npm run build:esm",
"test": "mocha && npm run test:cjs",
"test:cjs": "npm run build:cjs && mocha --config .mocharc.cjs.cjs --recursive dist/cjs/test",
"prepublishOnly": "npm run build",
"eslint-fix": "eslint --ext ts --max-warnings 0 --fix src test",
"eslint": "eslint --ext ts --max-warnings 0 src test",
"prepare": "husky && node scripts/build.js && cp node_modules/web-tree-sitter/tree-sitter.wasm dist"
},
"repository": {
"type": "git",
"url": "git://github.com/cucumber/language-service.git"
},
"keywords": [
"cucumber",
"lsp",
"language service"
],
"author": "Cucumber Limited <cukes@googlegroups.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/language-service/issues"
},
"homepage": "https://github.com/cucumber/language-service#readme",
"contributors": [
"Binh Duc Tran <binhtran432k@gmail.com>",
"Kieran Ryan <kierankilkenny@gmail.com>",
"M.P. Korstanje <rien.korstanje@gmail.com>",
"Miro <miroslav.sommer@gmail.com>"
],
"lint-staged": {
"{src,test}/**/*.ts": "npm run eslint-fix"
},
"dependencies": {
"@cucumber/cucumber-expressions": "^17.0.0",
"@cucumber/gherkin": "^28.0.0",
"@cucumber/gherkin-utils": "^9.0.0",
"@cucumber/messages": "^24.0.0",
"@types/js-search": "1.4.4",
"@types/mustache": "4.2.5",
"fuse.js": "7.0.0",
"js-search": "2.0.1",
"mustache": "4.2.0",
"vscode-languageserver-types": "3.17.5",
"web-tree-sitter": "0.20.8"
},
"optionalDependencies": {
"tree-sitter": "0.20.6",
"tree-sitter-c-sharp": "0.20.0",
"tree-sitter-cli": "0.20.8",
"tree-sitter-go": "0.20.0",
"tree-sitter-java": "0.20.2",
"tree-sitter-php": "0.20.0",
"tree-sitter-python": "0.20.4",
"tree-sitter-ruby": "0.19.0",
"tree-sitter-rust": "0.20.4",
"tree-sitter-typescript": "0.20.5"
},
"devDependencies": {
"@cucumber/cucumber": "^10.0.0",
"@cucumber/message-streams": "^4.0.1",
"@types/glob": "8.1.0",
"@types/mocha": "10.0.6",
"@types/node": "20.12.11",
"@types/react": "18.2.74",
"@typescript-eslint/eslint-plugin": "7.5.0",
"@typescript-eslint/parser": "7.5.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-simple-import-sort": "12.1.0",
"glob": "10.3.15",
"husky": "9.0.11",
"lint-staged": "^15.2.0",
"mocha": "10.4.0",
"node-gyp": "^10.0.1",
"prettier": "3.2.5",
"react": "18.2.0",
"ts-node": "10.9.2",
"txtgen": "3.0.2",
"typescript": "5.4.5"
},
"peerDependencies": {
"web-tree-sitter": "^0.20.7"
}
}