-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.42 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.42 KB
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
{
"name": "tree-sitter-gherkin",
"version": "0.1.0",
"type": "module",
"description": "Gherkin grammar for tree-sitter",
"repository": "github:tree-sitter/tree-sitter-gherkin",
"license": "MIT",
"author": {
"name": "Binh Tran",
"email": "binhtran432k@gmail.com"
},
"main": "bindings/node",
"types": "bindings/node",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"gherkin"
],
"files": [
"grammar.js",
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
"queries/*",
"src/**",
"*.wasm"
],
"dependencies": {
"node-addon-api": "^8.1.0",
"node-gyp-build": "^4.8.2"
},
"devDependencies": {
"@types/bun": "^1.1.14",
"gherkin": "github:cucumber/gherkin#v30.0.4",
"prebuildify": "^6.0.1",
"tree-sitter-cli": "^0.24.3"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
},
"peerDependenciesMeta": {
"tree-sitter": {
"optional": true
}
},
"scripts": {
"install": "node-gyp-build",
"prestart": "tree-sitter build --wasm",
"start": "tree-sitter playground",
"gen-dialect": "bun scripts/gen-dialect.ts",
"gen-test": "bun scripts/gen-test.ts",
"nvim": "mkdir -p parser && tree-sitter build -o parser/gherkin.so",
"ts:test": "tree-sitter test",
"ts:gen": "tree-sitter generate"
},
"tree-sitter": [
{
"scope": "source.gherkin",
"injection-regex": "^gherkin$"
}
]
}