Files
nym/wasm/client/build-node.mjs
Mark Sinclair b97f8c1145 Mix Fetch RC Release (#3910)
* Bug fix `mixFetch` build

* Batch integration tests for mixFetch

* Bump RC version

* Tidy up READMEs

* Bump version to RC4 and fix up a few interfaces

* Bump version to RC5 and fix opts

* NodeJS SDK

* mixFetch usage example

* Update internal dev tester readme

* Add NodeJS packages to publish script

* Update lock file

* Upgrade `lerna`

---------

Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
2023-09-21 15:09:34 +01:00

8 lines
275 B
JavaScript

import fs from 'fs';
const packageJson = JSON.parse(fs.readFileSync('../../dist/node/wasm/client/package.json').toString());
packageJson.name = `${packageJson.name}-node`;
fs.writeFileSync('../../dist/node/wasm/client/package.json', JSON.stringify(packageJson, null, 2));