-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
50 lines (50 loc) · 1.29 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
{
"name": "tree-sitter-ocaml",
"version": "0.24.0",
"description": "OCaml grammar for tree-sitter",
"repository": "https://github.com/tree-sitter/tree-sitter-ocaml",
"license": "MIT",
"main": "bindings/node",
"types": "bindings/node",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"ocaml"
],
"files": [
"binding.gyp",
"bindings/node/*",
"common/**",
"grammars/ocaml/src/**",
"grammars/interface/src/**",
"grammars/type/src/**",
"prebuilds/**",
"queries/*",
"*.wasm"
],
"dependencies": {
"node-addon-api": "^8.3.0",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter-cli": "^0.24.6"
},
"peerDependencies": {
"tree-sitter": "^0.22.4"
},
"peerDependenciesMeta": {
"tree-sitter": {
"optional": true
}
},
"scripts": {
"install": "node-gyp-build",
"generate": "for dir in grammars/ocaml grammars/interface grammars/type; do cd $dir; tree-sitter generate; cd -; done",
"prestart": "tree-sitter build grammars/ocaml --wasm -o grammars/ocaml/tree-sitter-ocaml.wasm",
"start": "tree-sitter playground --grammar-path grammars/ocaml",
"test": "node --test bindings/node/*_test.js",
"parse-examples": "test/parse-examples.sh"
}
}