Publish packages to npm
simoneb opened this issue · 0 comments
simoneb commented
Use lerna to publish packages to npm so to allow 2 usage scenarios:
- desktop flavor, which should run the electron app by simply running:
npm i -g autocannon-ui-desktop
autocannon-ui-desktop
- web flavor, which may require some changes in package names to make it a little more straightforward and which should allow running a standalone web version which exposes both the HTTP API and the UI and run as an executable bin:
npm i -g <sensible package name>
(e.g. autocannon-ui-web)<sensible package name>
, which will start the server on a default port, print it to the console and tell you to navigate to http://localhost:
To configure lerna for publishing, inspire from brokeneck / graphql-hooks