]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blob - package.json
4b4842046ee9420ceddddd49a1b887811af42c42
[rbdr/tree-sitter-api-notation] / package.json
1 {
2 "name": "tree-sitter-api-notation",
3 "version": "1.0.0",
4 "description": "API Notation grammar for tree-sitter",
5 "main": "bindings/node",
6 "scripts": {
7 "test": "echo \"Error: no test specified\" && exit 1"
8 },
9 "keywords": ["parser", "api-notation"],
10 "author": "Ruben Beltran del Rio",
11 "license": "MIT",
12 "dependencies": {
13 "nan": "^2.18.0"
14 },
15 "devDependencies": {
16 "tree-sitter-cli": "^0.20.8"
17 },
18 "scripts": {
19 "build": "tree-sitter generate && node-gyp build",
20 "parse": "tree-sitter parse",
21 "test": "tree-sitter test"
22 },
23 "tree-sitter": [
24 {
25 "scope": "source.api-notation",
26 "file-types": [
27 "apinotation",
28 "api"
29 ],
30 "highlights": [
31 "queries/highlights.scm"
32 ],
33 "injection-regex": "^(apinotation|api-notation)$"
34 }
35 ]
36 }