Skip to content

uglabs/ug-js-sdk

Repository files navigation

UG JS SDK

For latest docs please visit -> https://docs.uglabs.io/sdk/js

Development

Building

To build the library, you can use the following commands:

  • npm run build: Compiles the TypeScript code to separate JavaScript files in the dist directory.
  • npm run bundle: Bundles the library into a single file, dist/ug-js-sdk-bundle.js.

Serving the Demo

To serve the demo page, run the following command:

  • npm run serve:demo: Starts a local server and opens public/demo.html in your browser.

Available Scripts

In the project directory, you can run:

  • npm run build: Compiles the TypeScript code to JavaScript.
  • npm run bundle: Bundles the library into a single file.
  • npm run test: Runs the tests using Jest.
  • npm run format: Formats the code using Prettier.
  • npm run serve:demo: Starts a local server and opens public/demo.html in your browser.

About

UG Javascript SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published