@penumbra-zone/wasm
v4.0.3dev
cargo watch -C ./crate --postpone -- pnpm turbo run compile
lint
eslint "src/*.ts*"
test
vitest run
clean
rm -fv wasm/index*
compile
cd crate && wasm-pack build --no-pack --target bundler --out-name index --out-dir ../wasm
lint:rust
cd crate && cargo fmt --all -- --check && cargo clippy -- -D warnings && cargo clippy --tests -- -D warnings
test:rust
cd crate && wasm-pack test --headless --firefox -- --test build --target wasm32-unknown-unknown --release --features 'mock-database'
clean:rust
cargo clean --manifest-path ./crate/Cargo.toml
format:rust
cd crate && cargo fmt --all
npm i @penumbra-zone/[email protected]
Metadata
- (MIT OR Apache-2.0)
- Whatever
- Unknown
- released 5/3/2024