-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
56 lines (56 loc) · 1.52 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
{
"name": "tree-sitter-ocaml",
"version": "0.21.1",
"description": "OCaml grammar for tree-sitter",
"keywords": [
"parser",
"ocaml"
],
"author": "Max Brunsfeld",
"license": "MIT",
"dependencies": {
"nan": "^2.19.0"
},
"devDependencies": {
"tree-sitter-cli": ">=0.21.0"
},
"scripts": {
"build": "npm run build-ocaml && npm run build-interface",
"build-ocaml": "cd grammars/ocaml && tree-sitter generate --no-bindings",
"build-interface": "cd grammars/interface && tree-sitter generate --no-bindings",
"test": "npm run test-ocaml && npm run test-interface && npm run test-highlight && script/parse-examples",
"test-ocaml": "cd grammars/ocaml && tree-sitter test",
"test-interface": "cd grammars/interface && tree-sitter test",
"test-highlight": "tree-sitter test"
},
"tree-sitter": [
{
"scope": "source.ocaml",
"path": "grammars/ocaml",
"external-files": [
"include/scanner.h"
],
"file-types": [
"ml"
],
"injection-regex": "^(ocaml|ml)$",
"highlights": "queries/highlights.scm",
"locals": "queries/locals.scm",
"tags": "queries/tags.scm"
},
{
"scope": "source.ocaml.interface",
"path": "grammars/interface",
"external-files": [
"include/scanner.h"
],
"file-types": [
"mli"
],
"injection-regex": "^ocaml_interface$",
"highlights": "queries/highlights.scm",
"locals": "queries/locals.scm",
"tags": "queries/tags.scm"
}
]
}