Skip to content

Commit

Permalink
Merge pull request #301 from jens-f/patch-1
Browse files Browse the repository at this point in the history
Move tree-sitter-cli to regular dependencies to avoid installation error
  • Loading branch information
DerekStride authored Feb 5, 2025
2 parents 302f356 + d22a544 commit c787b92
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "bindings/node",
"types": "bindings/node",
"scripts": {
"install": "tree-sitter generate && node-gyp-build",
"prestart": "tree-sitter build --wasm",
"start": "tree-sitter playground",
"install": "npx --yes --package=tree-sitter-cli -- tree-sitter generate && node-gyp-build",
"prestart": "npx --yes --package=tree-sitter-cli -- tree-sitter build --wasm",
"start": "npx --yes --package=tree-sitter-cli -- tree-sitter playground",
"release": "commit-and-tag-version",
"test": "node --test bindings/node/*_test.js",
"prebuildify": "prebuildify --napi --strip"
Expand All @@ -21,8 +21,7 @@
"devDependencies": {
"commit-and-tag-version": "^12.0.0",
"node-gyp": "^10.0.1",
"prebuildify": "^6.0.0",
"tree-sitter-cli": "^0.24.0"
"prebuildify": "^6.0.0"
},
"peerDependencies": {
"tree-sitter": "^0.21.0"
Expand Down

0 comments on commit c787b92

Please sign in to comment.