Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.
/ commons-js Public archive

The Didux.io Commons Javascript library exposes commonly used Didux.io functionality for integration in other projects.

License

Notifications You must be signed in to change notification settings

didux-io/commons-js

Repository files navigation

Didux.io-Commons-JS

The Didux.io Commons Javascript library exposes commonly used Didux.io functionality for integration in other projects.

Building

This chapter shows how to build this library from source.

All build output is directed to the dist directory.

Build dependencies

To build from source the following dependencies must be installed on your system.

  • NodeJS (at least version 8.11.x)
  • NPM (at least version 5.6.0)

Development build

To create a development build run the following command in the root of the project:

npm run build

You can also start the build with a watch enabled. This will recompile the project once a source file change is detected:

npm run build-watch

Production build

To create a production build run the following command in the root of the project:

npm run build-prod

Publishing

To publish the node and web version of this library to NPM do:

npm run publish-npm-packages

This will run a production build and prepare the packages for distribution.

The directories which will be uploaded to NPM can be found at ./dist/node and ./dist/web.

You can also prepare these directories without uploading by running:

npm run prepare-npm-packages

Testing

We use Jasmine to unit test this project. To run all tests run the following command in the root of the project:

npm run test

About

The Didux.io Commons Javascript library exposes commonly used Didux.io functionality for integration in other projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published