-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
39 lines (39 loc) · 1.09 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
{
"name": "tree-sitter-pest",
"version": "0.0.2",
"description": "Pest grammar for tree-sitter",
"main": "bindings/node",
"repository": {
"type": "git",
"url": "https://github.com/pest-parser/tree-sitter-pest.git"
},
"license": "MIT",
"keywords": ["parser", "pest"],
"author": "Jason Lee <[email protected]>",
"type": "commonjs",
"devDependencies": {
"node-gyp": ">=7 <11",
"tree-sitter-cli": "^0.20.8"
},
"dependencies": {
"nan": "^2.17.0"
},
"scripts": {
"build": "tree-sitter generate && node-gyp build",
"build-wasm": "tree-sitter build-wasm",
"lint": "eslint grammar.js",
"parse": "tree-sitter parse",
"test": "bun run build && tree-sitter test",
"test-windows": "tree-sitter test",
"dev": "bun run build && tree-sitter highlight --html examples/*.pest > target/out.html && open target/out.html"
},
"tree-sitter": [
{
"scope": "source.pest",
"file-types": ["pest"],
"highlights": ["queries/highlights.scm"],
"outline": ["queries/outline.scm"],
"brackets": ["queries/brackets.scm"]
}
]
}