Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Jun 16, 2023
1 parent 8520742 commit 2270947
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion ucan-wasm/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
### Build

The build command output for `browser`, `node`, `deno`, and `workerd` targets to `ucan-wasm/lib`.

```
wasm-pack build --target web
npm run build
```

### Test

The test command tests `node` and browser environments including `chromium`, `firefox`, and `webkit`
using headless browsers.

```
npm run test
```

Testing can also be run for `node` only.

```
npm run test:node
```

The test commands runs `build` to ensure all targets are available for testing.

### Reporting

Test runs output test results and coverage as JSON artifacts to `ucan-wasm/tests/report`.

0 comments on commit 2270947

Please sign in to comment.