fix(bindings): add tree-sitter as npm dev dependency

npm is supposed to automatically install peer dependencies since v7
but sometimes it's not doing it and we need this dependency for tests
This commit is contained in:
ObserverOfTime 2025-08-23 11:36:49 +03:00
parent 79177a1cd5
commit e67f9f8f7a
2 changed files with 32 additions and 9 deletions

View file

@ -32,11 +32,12 @@
"*.wasm"
],
"dependencies": {
"node-addon-api": "^8.3.1",
"node-addon-api": "^8.5.0",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter": "^0.22.4",
"tree-sitter-cli": "^CLI_VERSION"
},
"peerDependencies": {