File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,12 @@ examples/desktop
11
11
examples /redux
12
12
examples /vscode
13
13
log.html
14
+
15
+ # These files would be generated by 'tree-sitter generate' with the default
16
+ # settings. We don't want them because there's already a copy at the root.
17
+ /tsx /Cargo.toml
18
+ /tsx /binding.gyp
19
+ /tsx /bindings
20
+ /typescript /Cargo.toml
21
+ /typescript /binding.gyp
22
+ /typescript /bindings
Original file line number Diff line number Diff line change 18
18
},
19
19
"main" : " ./bindings/node" ,
20
20
"devDependencies" : {
21
- "tree-sitter-cli" : " ^0.19.1 " ,
21
+ "tree-sitter-cli" : " ^0.19.3 " ,
22
22
"tree-sitter-javascript" : " github:tree-sitter/tree-sitter-javascript#2c5b138"
23
23
},
24
24
"scripts" : {
25
25
"build" : " npm run build-typescript && npm run build-tsx" ,
26
- "build-typescript" : " cd typescript && tree-sitter generate" ,
27
- "build-tsx" : " cd tsx && tree-sitter generate" ,
26
+ "build-typescript" : " cd typescript && tree-sitter generate --no-bindings " ,
27
+ "build-tsx" : " cd tsx && tree-sitter generate --no-bindings " ,
28
28
"test-load" : " node -e \" console.log(require('./typescript').name, require('./tsx').name)\" " ,
29
29
"test" : " npm run test-typescript && npm run test-tsx && npm run test-load && script/parse-examples" ,
30
30
"test-typescript" : " cd typescript && tree-sitter test" ,
You can’t perform that action at this time.
0 commit comments