This repository contains a hot-reloading sandbox for developing the @bytescale/upload-widget
NPM package.
node
and npm
are required — we actively support the following versions:
Package | Version |
---|---|
Node | v18.12.1 |
NPM | v8.19.2 |
This repository comprises 3 packages:
- The
/
package (contains dev tooling likeprettier
). - The
/lib
package (contains the@bytescale/upload-widget
library itself). - The
/examples
package (provides a hot-reloading sandbox for developing the@bytescale/upload-widget
library).
git clone [email protected]:bytescale/bytescale-upload-widget.git
cd bytescale-upload-widget
export NODE_OPTIONS=--openssl-legacy-provider
npm install
(cd lib && npm install && npm pack)
(cd examples && npm install)
(cd examples && npm start)
The above launches a hot-reloading server on http://127.0.0.1:3010
that uses @bytescale/upload-widget
from source.
Please ensure nothing else is running on TCP port 3010
.