0.12.0 • Published 1 year ago
@devolutions/picky v0.12.0
Picky WASM
JavaScript bindings to picky using wasm-bindgen.
Build & publish
This should be run in the CI.
Install
wasm-pack.Build the package:
$ npm run buildPublish to npm:
$ npm publish
Testing
Some tests can be in Firefox in headless mode:
$ wasm-pack test --headless --firefoxOther tests are run using nodejs and the ava testing framework.
For these, you need to build the npm package targeting nodejs:
$ wasm-pack build --target nodejs --scope @devolutions --out-name pickyRename @devolutions/picky-wasm to @devolutions/picky in pkg/package.json.
Run the ava tests
cd ava_tests
npm install
npm test