-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
80 lines (80 loc) · 2.15 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
{
"name": "tree-sitter-prolog",
"version": "1.0.0",
"description": "Tree-sitter grammar for ISO Prolog",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"prolog",
"problog"
],
"repository": {
"type": "git",
"url": "https://codeberg.org/tree-sitter-prolog.git"
},
"main": "bindings/node",
"types": "bindings/node",
"scripts": {
"install": "node-gyp-build",
"build": "pnpm run build-prolog && pnpm run build-problog",
"build-prolog": "cd grammars/prolog && tree-sitter generate --no-bindings && prebuildify --napi --electron-compat",
"build-problog": "cd grammars/problog && tree-sitter generate --no-bindings && prebuildify --napi --electron-compat",
"test": "pnpm run test-prolog && pnpm run test-problog && pnpm run test-highlight",
"test-highlight": "tree-sitter test",
"test-prolog": "cd grammars/prolog && tree-sitter test && tree-sitter parse examples/*.pl --quiet --time",
"test-prolog": "cd grammars/problog && tree-sitter test && tree-sitter parse examples/*.pl --quiet --time",
"prebuildify": "prebuildify --napi --strip"
},
"author": "[email protected]",
"license": "AGPL-3.0-or-later",
"dependencies": {
"node-addon-api": "^7.1.0",
"node-gyp": "^10.1.0",
"node-gyp-build": "^4.8.1"
},
"peerDependencies": {
"tree-sitter": "^0.21.0"
},
"peerDependenciesMeta": {
"tree_sitter": {
"optional": true
}
},
"tree-sitter": [
{
"scope": "source.prolog",
"path": "grammars/prolog",
"file-types": [
"pl",
"pro",
"P"
],
"injection-regex": "prolog",
"highlights": "grammars/prolog/queries/highlights.scm"
},
{
"scope": "source.problog",
"path": "grammars/problog",
"file-types": [
"pl",
"pro",
"P"
],
"content-regex": "::",
"injection-regex": "problog",
"highlights": "grammars/problog/queries/highlights.scm"
}
],
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter-cli": "^0.20.8"
},
"files": [
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
"grammars/**",
"queries/*"
]
}