install wasm-pack

This commit is contained in:
Kieran 2023-09-06 13:56:49 +01:00
parent d672336ea1
commit 3232a8679c
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -3,7 +3,7 @@
"version": "0.1.0",
"packageManager": "yarn@3.6.3",
"scripts": {
"build": "wasm-pack build -t web -s snort"
"build": "cargo install wasm-pack && wasm-pack build -t web -s snort"
},
"files": [
"pkg/system_query_bg.wasm",