diff --git a/README.md b/README.md index 4a036d06d60963b2821ed0707dd3aa00df3d5dd0..e0a04b56e4153124be11ad08f249337e40228265 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,21 @@ wasm-pack build ```bash wasm-pack test --headless --firefox +wasm-pack test --headless --chrome +wasm-pack test --headless --safari ``` -### 🎁 Publish to NPM with `wasm-pack publish` +### 🎁 Publish new release to NPM + +Before publish, build in release mode without default features : + +```bash +wasm-pack build --release -- --no-default-features +``` + +You need npm token, if you don't have, get it with `npm login` command. + +Then publish ( help) : ```bash wasm-pack publish