Update Node build to build wasm files

This commit is contained in:
Evan Dunbar 2024-09-26 11:08:57 -05:00
parent eddcfdfdef
commit 4f3d356dd0

View file

@ -8,7 +8,8 @@
"install": "node-gyp-build", "install": "node-gyp-build",
"prestart": "tree-sitter build --wasm", "prestart": "tree-sitter build --wasm",
"start": "tree-sitter playground", "start": "tree-sitter playground",
"test": "node --test bindings/node/*_test.js" "test": "node --test bindings/node/*_test.js",
"build": "tree-sitter build --wasm --output ./build/parser.wasm"
}, },
"author": "Ev Dunbar", "author": "Ev Dunbar",
"license": "ISC", "license": "ISC",