]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blobdiff - package.json
Update plugin structure
[rbdr/tree-sitter-api-notation] / package.json
index 4b4842046ee9420ceddddd49a1b887811af42c42..5169fca0ccebaa2105abfc440c3b2e214eb8aa4b 100644 (file)
@@ -8,7 +8,7 @@
   },
   "keywords": ["parser", "api-notation"],
   "author": "Ruben Beltran del Rio",
   },
   "keywords": ["parser", "api-notation"],
   "author": "Ruben Beltran del Rio",
-  "license": "MIT",
+  "license": "Apache-2.0",
   "dependencies": {
     "nan": "^2.18.0"
   },
   "dependencies": {
     "nan": "^2.18.0"
   },
@@ -16,7 +16,7 @@
     "tree-sitter-cli": "^0.20.8"
   },
   "scripts": {
     "tree-sitter-cli": "^0.20.8"
   },
   "scripts": {
-    "build": "tree-sitter generate && node-gyp build",
+    "build": "tree-sitter generate",
     "parse": "tree-sitter parse",
     "test": "tree-sitter test"
   },
     "parse": "tree-sitter parse",
     "test": "tree-sitter test"
   },
     {
       "scope": "source.api-notation",
       "file-types": [
     {
       "scope": "source.api-notation",
       "file-types": [
-        "apinotation",
         "api"
       ],
       "highlights": [
         "queries/highlights.scm"
       ],
         "api"
       ],
       "highlights": [
         "queries/highlights.scm"
       ],
-      "injection-regex": "^(apinotation|api-notation)$"
+      "injection-regex": "api_notation"
     }
   ]
 }
     }
   ]
 }