aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 4b4842046ee9420ceddddd49a1b887811af42c42 (plain)
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
{
  "name": "tree-sitter-api-notation",
  "version": "1.0.0",
  "description": "API Notation grammar for tree-sitter",
  "main": "bindings/node",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": ["parser", "api-notation"],
  "author": "Ruben Beltran del Rio",
  "license": "MIT",
  "dependencies": {
    "nan": "^2.18.0"
  },
  "devDependencies": {
    "tree-sitter-cli": "^0.20.8"
  },
  "scripts": {
    "build": "tree-sitter generate && node-gyp build",
    "parse": "tree-sitter parse",
    "test": "tree-sitter test"
  },
  "tree-sitter": [
    {
      "scope": "source.api-notation",
      "file-types": [
        "apinotation",
        "api"
      ],
      "highlights": [
        "queries/highlights.scm"
      ],
      "injection-regex": "^(apinotation|api-notation)$"
    }
  ]
}