react-image-annotate icon indicating copy to clipboard operation
react-image-annotate copied to clipboard

How to build for NPM?

Open SarahKay99 opened this issue 4 years ago • 0 comments

I forked this package and am trying to build a clone for NPM. I can't get the package to build properly on NPM. I made a Windows command and it's building properly in VS code to the dist folder, when I run npm run build-windows.

But when I install the package in another project it's not downloading the dist file, but rather a clone of this repo. The package doesn't work in my project since it's not built.

What commands should I run (and in what order) to get the package built correctly for NPM?

SarahKay99 avatar Jun 05 '21 21:06 SarahKay99