aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2023-10-04 13:39:56 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2023-10-04 13:39:56 +0200
commitdc87cd894bad9ad0202dcd4a89e7d0af47c53fc9 (patch)
tree19fbc45b90d717b2e150f6ab711b234d9102e423 /package.json
Initial Commit
Diffstat (limited to 'package.json')
-rw-r--r--package.json36
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)$"
+ }
+ ]
+}