Releasing openmrs-web-style-referenceapplication to npm

Hello everyone I am trying to publish an npm package for the web style reference application. Normally the way to use the style guide in an application is to reference the referenceapplication.css in the auth-generated lib folder.

When publishing to the npm registry, its requires a main file which is the index.js. How am i suppose to export a css file available when a developer runs npm install style-referenceapplication

Secondly how can i release under the openmrs handler on npm

cc @dkayiwa @malmike @justmesam @patrick @elbertbiggs360

1 Like

Thanks @ebuka for looking into that! I will setup publishing to the npm registry today since it requires to put proper credentials. I reviewed your PR as well.

Thanks @raff