mirror of https://github.com/Wilfred/difftastic/
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"name": "tree-sitter-rust",
|
|
"version": "0.20.4",
|
|
"description": "Rust grammar for tree-sitter",
|
|
"main": "bindings/node",
|
|
"keywords": [
|
|
"parser",
|
|
"rust"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tree-sitter/tree-sitter-rust.git"
|
|
},
|
|
"author": "Maxim Sokolov <maxim0xff@gmail.com> (https://github.com/MaximSokolov)",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"nan": "^2.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.47.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"tree-sitter-cli": "^0.20.8"
|
|
},
|
|
"scripts": {
|
|
"build": "tree-sitter generate && node-gyp build",
|
|
"build-wasm": "tree-sitter build-wasm",
|
|
"lint": "eslint grammar.js",
|
|
"parse": "tree-sitter parse",
|
|
"test": "tree-sitter test && script/parse-examples",
|
|
"test-windows": "tree-sitter test"
|
|
},
|
|
"tree-sitter": [
|
|
{
|
|
"scope": "source.rust",
|
|
"injection-regex": "rust",
|
|
"file-types": [
|
|
"rs"
|
|
],
|
|
"highlights": [
|
|
"queries/highlights.scm"
|
|
],
|
|
"injections": [
|
|
"queries/injections.scm"
|
|
],
|
|
"tags": [
|
|
"queries/tags.scm"
|
|
]
|
|
}
|
|
]
|
|
}
|