@penumbra-zone/wasm
v7.0.0dev
cargo watch -C ./crate --postpone -- pnpm turbo run compile
lint
eslint src
test
vitest run
build
tsc --build
clean
rm -rfv dist wasm package penumbra-zone-wasm-*.tgz
compile
cd crate && wasm-pack build --no-pack --target bundler --out-name index --out-dir ../wasm && touch ../wasm/.npmignore
prebuild
tsc --build --clean
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 6/3/2024