New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@proofmeid/commons-js

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proofmeid/commons-js

The Proofme.ID Commons Javascript library exposes commonly used Proofme.ID functionality for integration in other projects.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
2
Created
Source

Proofme.ID-Commons-JS

The Proofme.ID Commons Javascript library exposes commonly used Proofme.ID 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

FAQs

Package last updated on 09 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts