Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ examples/desktop
examples/redux
examples/vscode
log.html

# These files would be generated by 'tree-sitter generate' with the default
# settings. We don't want them because there's already a copy at the root.
/tsx/Cargo.toml
/tsx/binding.gyp
/tsx/bindings
/typescript/Cargo.toml
/typescript/binding.gyp
/typescript/bindings
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
},
"main": "./bindings/node",
"devDependencies": {
"tree-sitter-cli": "^0.19.1",
"tree-sitter-cli": "^0.19.3",
"tree-sitter-javascript": "github:tree-sitter/tree-sitter-javascript#2c5b138"
},
"scripts": {
"build": "npm run build-typescript && npm run build-tsx",
"build-typescript": "cd typescript && tree-sitter generate",
"build-tsx": "cd tsx && tree-sitter generate",
"build-typescript": "cd typescript && tree-sitter generate --no-bindings",
"build-tsx": "cd tsx && tree-sitter generate --no-bindings",
"test-load": "node -e \"console.log(require('./typescript').name, require('./tsx').name)\"",
"test": "npm run test-typescript && npm run test-tsx && npm run test-load && script/parse-examples",
"test-typescript": "cd typescript && tree-sitter test",
Expand Down