Updated wasm publishing instructions

This commit is contained in:
jstuczyn
2020-09-16 15:32:31 +01:00
parent c50e9a9ed7
commit 689c4fc66c
+2 -3
View File
@@ -38,6 +38,5 @@ To be clear, this is not something that most JS developers need to worry about,
If you're a Nym platform developer who's made changes to the Rust (or JS) files and wants to re-publish the package to NPM, here's how you do it:
1. `wasm-pack build --scope nymproject` builds the wasm binaries into the `pkg` directory (not in source control)
2. copy `client.js` into the `pkg` folder and update `package.json` manifest with the provided one
3. bump version numbers as necessary for SemVer
4. `wasm-pack publish --access=public` will publish your changed package to NPM
2. bump version numbers as necessary for SemVer
3. `wasm-pack publish --access=public` will publish your changed package to NPM