1 Star 0 Fork 0

编码胖哥/tree-sitter-rust

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.37 KB
一键复制 编辑 原始数据 按行查看 历史
Amaan Qureshi 提交于 2024-04-25 11:20 . 0.21.2
{
"name": "tree-sitter-rust",
"version": "0.21.2",
"description": "Rust grammar for tree-sitter",
"repository": "github:tree-sitter/tree-sitter-rust",
"license": "MIT",
"author": "Maxim Sokolov <maxim0xff@gmail.com>",
"contributors": [
"Max Brunsfeld <maxbrunsfeld@gmail.com>",
"Amaan Qureshi <amaanq12@gmail.com>"
],
"maintainers": [
"Amaan Qureshi <amaanq12@gmail.com>"
],
"main": "bindings/node",
"types": "bindings/node",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"rust"
],
"files": [
"grammar.js",
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
"queries/*",
"src/**"
],
"dependencies": {
"node-addon-api": "^8.0.0",
"node-gyp-build": "^4.8.0"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
},
"peerDependenciesMeta": {
"tree_sitter": {
"optional": true
}
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-google": "^0.14.0",
"tree-sitter-cli": "^0.22.5",
"prebuildify": "^6.0.1"
},
"scripts": {
"install": "node-gyp-build",
"prebuildify": "prebuildify --napi --strip",
"build": "tree-sitter generate --no-bindings",
"build-wasm": "tree-sitter build --wasm",
"lint": "eslint grammar.js",
"parse": "tree-sitter parse",
"test": "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"
]
}
],
"eslintConfig": {
"env": {
"commonjs": true,
"es2021": true
},
"extends": "google",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"arrow-parens": "off",
"camel-case": "off",
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"max-len": [
"error",
{
"code": 160,
"ignoreComments": true,
"ignoreUrls": true,
"ignoreStrings": true
}
],
"spaced-comment": [
"warn",
"always",
{
"line": {
"markers": [
"/"
]
}
}
]
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/pzxmx/tree-sitter-rust.git
git@gitee.com:pzxmx/tree-sitter-rust.git
pzxmx
tree-sitter-rust
tree-sitter-rust
master

搜索帮助