57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"name": "tree-sitter-PARSER_NAME",
|
|
"version": "PARSER_VERSION",
|
|
"description": "PARSER_DESCRIPTION",
|
|
"repository": "github:tree-sitter/tree-sitter-PARSER_NAME",
|
|
"license": "PARSER_LICENSE",
|
|
"author": {
|
|
"name": "PARSER_AUTHOR_NAME",
|
|
"email": "PARSER_AUTHOR_EMAIL",
|
|
"url": "PARSER_AUTHOR_URL"
|
|
},
|
|
"main": "bindings/node",
|
|
"types": "bindings/node",
|
|
"keywords": [
|
|
"incremental",
|
|
"parsing",
|
|
"tree-sitter",
|
|
"LOWER_PARSER_NAME"
|
|
],
|
|
"files": [
|
|
"grammar.js",
|
|
"binding.gyp",
|
|
"prebuilds/**",
|
|
"bindings/node/*",
|
|
"queries/*",
|
|
"src/**",
|
|
"*.wasm"
|
|
],
|
|
"dependencies": {
|
|
"node-addon-api": "^8.0.0",
|
|
"node-gyp-build": "^4.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"prebuildify": "^6.0.1",
|
|
"tree-sitter-cli": "^CLI_VERSION"
|
|
},
|
|
"peerDependencies": {
|
|
"tree-sitter": "^0.21.1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"tree-sitter": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"install": "node-gyp-build",
|
|
"prestart": "tree-sitter build --wasm",
|
|
"start": "tree-sitter playground",
|
|
"test": "node --test bindings/node/*_test.js"
|
|
},
|
|
"tree-sitter": [
|
|
{
|
|
"scope": "source.LOWER_PARSER_NAME",
|
|
"injection-regex": "^LOWER_PARSER_NAME$"
|
|
}
|
|
]
|
|
}
|