UniversalDataTool / react-image-annotate

Create image annotations. Classify, tag images with polygons, bounding boxes or points.
MIT License
398 stars 176 forks source link

How to build for NPM? #166

Open SarahKay99 opened 3 years ago

SarahKay99 commented 3 years ago

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?