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", "version": "0.1.0",
"packageManager": "yarn@3.6.3", "packageManager": "yarn@3.6.3",
"scripts": { "scripts": {
"build": "wasm-pack build -t web -s snort" "build": "cargo install wasm-pack && wasm-pack build -t web -s snort"
}, },
"files": [ "files": [
"pkg/system_query_bg.wasm", "pkg/system_query_bg.wasm",