-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
92 lines (92 loc) · 2.2 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
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "tree-sitter-unison",
"license": "MIT",
"author": "Kyle Goetz <kylegoetz@gmail.com>",
"contributors": [
{
"name": "Felipe Guerrero",
"url": "https://github.com/fmguerreiro"
},
{
"name": "Anton Parkhomenko",
"url": "https://github.com/chuwy"
},
{
"name": "zetashift",
"url": "https://github.com/zetashift"
}
],
"version": "2.0.0",
"description": "Unison grammar for tree-sitter",
"repository": "github:kylegoetz/tree-sitter-unison",
"main": "bindings/node",
"types": "bindings/node",
"keywords": [
"parsing",
"parser",
"unisonlang",
"unison"
],
"files": [
"grammar.js",
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
"queries/*",
"src/**"
],
"dependencies": {
"node-addon-api": "^7.1.0",
"node-gyp-build": "^4.8.0"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
},
"peerDependenciesMeta": {
"tree_sitter": {
"optional": true
}
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"tree-sitter-cli": "^0.22.5",
"web-tree-sitter": "^0.22.5",
"prebuildify": "^6.0.0"
},
"scripts": {
"start": "tree-sitter generate",
"test": "tree-sitter test",
"examples": "script/parse-examples",
"examples-wasm": "script/parse-examples wasm",
"scratch": "tree-sitter parse scratch.u -d",
"visual": "tree-sitter parse -D scratch-2.u",
"ci": "tree-sitter generate && tree-sitter build-wasm && tree-sitter test",
"install": "node-gyp-build",
"prebuildify": "prebuildify --napi --strip",
"watch": "fswatch -o ./grammar ./grammar.js | xargs -n1 -I{} tree-sitter generate",
"parse": "tree-sitter parse scratch-2.u --debug 2>&1 | less",
"report": "tree-sitter test | ~/Documents/workspace/tree-sitter-test-report/src/main.js"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"never",
[
"start-case",
"pascal-case"
]
]
}
},
"tree-sitter": [
{
"scope": "source.unison",
"injection-regex": "^unison$"
}
]
}