UNPKG

washm

Version:

WASM shell: Bash inside WASM

35 lines (34 loc) 897 B
{ "name": "washm", "description": "WASM shell: Bash inside WASM", "version": "0.2.15", "keywords": [ "MIT", "WASM", "WebAssembly", "WASI", "bash", "shell" ], "author": "Oleg Mihailik", "license": "MIT", "main": "index.js", "bin": "washm.js", "files": [ "washm.js", "washm.wasm" ], "repository": { "type": "git", "url": "git+https://github.com/mavity/washm" }, "scripts": { "test": "cargo build --target wasm32-wasip1 --features wasm-test && node washm.js test", "build": "cargo build -p washm --release --target wasm32-wasip1 && echo wasm-strip && npx wasm-strip target/wasm32-wasip1/release/washm.wasm && echo wasm-opt && npx wasm-opt --enable-bulk-memory -Oz target/wasm32-wasip1/release/washm.wasm -o ./washm.wasm" }, "devDependencies": { "binaryen": "125.0.0", "wabt": "*", "wasmparser": "*" } }