-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpackage.json
45 lines (45 loc) · 1.12 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
{
"name": "tree-sitter-ocaml",
"version": "0.19.0",
"description": "OCaml grammar for tree-sitter",
"keywords": [
"parser",
"ocaml"
],
"author": "Max Brunsfeld",
"license": "MIT",
"dependencies": {
"nan": "^2.14.1"
},
"devDependencies": {
"tree-sitter-cli": "^0.19.2"
},
"scripts": {
"build": "npm run build-ocaml && npm run build-interface",
"build-ocaml": "cd ocaml && tree-sitter generate",
"build-interface": "cd interface && tree-sitter generate",
"test": "npm run test-ocaml && npm run test-interface && npm run test-highlight && script/parse-examples",
"test-ocaml": "cd ocaml && tree-sitter test",
"test-interface": "cd interface && tree-sitter test",
"test-highlight": "tree-sitter test"
},
"tree-sitter": [
{
"scope": "source.ocaml",
"file-types": [
"ml"
],
"first-line-regex": "",
"path": "ocaml",
"injection-regex": "^(ocaml|ml)$"
},
{
"scope": "source.ocaml.interface",
"file-types": [
"mli"
],
"path": "interface",
"injection-regex": "^ocaml_interface$"
}
]
}