0.6.1 • Published 4 years ago
@mike_moran/baton-lib v0.6.1
Baton Lib
Building
Basic:
wasm-pack build --scope mike_moran
Optimised:
wasm-pack build --scope mike_moran --release
Testing
wasm-pack test --node
cargo test
Sharing locally
In current dir:
cd pkg
npm link
Elsewhere, where we want to use the locally published version:
npm link @mike_moran/baton-lib
Publishing
npm login # only needed if not already logged in
cd pkg
wasm-pack publish --access=public