@penumbra-zone/wasm
v30.1.0build
tsc --build --verbose
clean
rm -rfv dist *.tsbuildinfo wasm package penumbra-zone-*.tgz
clean:rust
cargo clean --manifest-path ./crate/Cargo.toml
compile
cd crate && wasm-pack build --no-pack --target bundler --out-name index --out-dir ../wasm
dev:compile
cargo watch -C ./crate --postpone -- $npm_execpath run compile
dev:pack
tsc-watch --onSuccess "$npm_execpath pack"
format:rust
cd crate && cargo fmt --all
lint
eslint src
lint:fix
eslint src --fix
lint:rust
cd crate && cargo fmt --all -- --check && cargo clippy -- -D warnings && cargo clippy --tests -- -D warnings
lint:strict
tsc --noEmit && eslint src --max-warnings 0
postcompile
touch ./wasm/.npmignore
test
vitest run
test:cargo
cd crate && cargo test --release
test:wasm
cd crate && wasm-pack test --headless --firefox -- --target wasm32-unknown-unknown --release --features 'mock-database'
npm i @penumbra-zone/wasm
Metadata
- (MIT OR Apache-2.0)
- Whatever
- Unknown
- released 10/16/2024