tree-sitter-beancount 2.0.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "tree-sitter-beancount",
3
- "version": "2.0.0",
3
+ "version": "2.1.2",
4
4
  "description": "a tree-sitter parser for the beancount syntax",
5
- "main": "index.js",
5
+ "main": "bindings/node",
6
6
  "scripts": {
7
- "tree-sitter": "tree-sitter"
7
+ "build": "tree-sitter generate",
8
+ "test": "tree-sitter test"
8
9
  },
9
10
  "repository": {
10
11
  "type": "git",
@@ -21,9 +22,9 @@
21
22
  },
22
23
  "homepage": "https://github.com/bryall/tree-sitter-beancount#readme",
23
24
  "dependencies": {
24
- "nan": "^2.14.1"
25
+ "nan": "^2.15.0"
25
26
  },
26
27
  "devDependencies": {
27
- "tree-sitter-cli": "^0.17.3"
28
+ "tree-sitter-cli": "0.20.0"
28
29
  }
29
30
  }
package/shell.nix ADDED
@@ -0,0 +1,13 @@
1
+ let
2
+ pkgs = import <nixpkgs> {};
3
+ in
4
+ pkgs.mkShell rec {
5
+ name = "tree-sitter";
6
+
7
+ buildInputs = with pkgs; [
8
+ nodejs-14_x
9
+ python38Full
10
+ tree-sitter
11
+ ];
12
+
13
+ }