In generate, create rust bindings
Also, migrate node binding files into the same 'bindings' folder.
This commit is contained in:
parent
c25fa9910e
commit
075bf2bd5c
9 changed files with 273 additions and 47 deletions
19
cli/src/generate/templates/package.json
Normal file
19
cli/src/generate/templates/package.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "tree-sitter-PARSER_NAME",
|
||||
"version": "0.0.1",
|
||||
"description": "PARSER_NAME grammar for tree-sitter",
|
||||
"main": "bindings/node",
|
||||
"keywords": [
|
||||
"parsing",
|
||||
"incremental"
|
||||
],
|
||||
"dependencies": {
|
||||
"nan": "^2.12.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tree-sitter-cli": "^0.17.3"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tree-sitter test"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue