-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.31 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
{
"name": "tree-sitter-idl",
"version": "3.12.1",
"description": "OMG IDL grammar for tree-sitter",
"repository": "github:cathaysia/tree-sitter-idl",
"license": "Apache-2.0",
"author": "DragonBillow Zhang <[email protected]>",
"main": "bindings/node",
"types": "bindings/node",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"c++"
],
"scripts": {
"install": "node-gyp-build",
"prebuildify": "prebuildify --napi",
"build": "tree-sitter generate",
"test": "pnpm build && tree-sitter test",
"pbuild": "pnpm build && pnpm precommit",
"precommit": "pre-commit run -a 2>&1 >> /dev/null || true",
"compile": "gcc -shared -fPIC src/parser.c -o build/idl.so"
},
"files": [
"grammar.js",
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
"queries/*",
"src/**"
],
"devDependencies": {
"prebuildify": "^6.0.0",
"tree-sitter-cli": "^0.22.2"
},
"dependencies": {
"node-addon-api": "^8.0.0",
"node-gyp-build": "^4.8.0"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
},
"peerDependenciesMeta": {
"tree_sitter": {
"optional": true
}
},
"tree-sitter": [
{
"scope": "source.idl",
"file-types": [
"idl"
],
"highlights": "queries/highlights.scm"
}
]
}