diff options
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package.json b/package.json new file mode 100644 index 0000000..4b48420 --- /dev/null +++ b/package.json @@ -0,0 +1,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)$" + } + ] +} |