-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.46 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.46 KB
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
{
"name": "tree-sitter-ocaml",
"version": "0.25.0",
"description": "OCaml grammar for tree-sitter",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/tree-sitter/tree-sitter-ocaml.git"
},
"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.6.0",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"eslint-config-treesitter": "^1.0.2",
"prebuildify": "^6.0.1",
"tree-sitter": "^0.25.0",
"tree-sitter-cli": "^0.26.7"
},
"peerDependencies": {
"tree-sitter": "^0.25.0"
},
"peerDependenciesMeta": {
"tree-sitter": {
"optional": true
}
},
"scripts": {
"install": "node-gyp-build",
"lint": "eslint grammars/*/grammar.js",
"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"
}
}