0.2.75 • Published 1 year ago
moovjs v0.2.75
Moov.js
A client-side library for handling PII and interacting with Moov.
Getting Started
Ensure that platform-dev is running. Bundle Moov.js by running npm run build
.
You can test Moov.js by running the demo site. Follow the instructions at ../demoSite/README.md
.
Package Commands
npm run build
Builds the moov.js
script from the contents of the ./src
folder and outputs to ./dist
directory.
npm run build:watch
Same as npm run build
, but also watches for code changes and then regenerates the bundle.
npm run clean
Removes the ./dist
folder containing the Moov.js build.
npm run generate-docs
Generates documentation for Moov.js from ./src/models.ts
. Outputs to ./docs
.
npm run generate-types
Generates type declaration files from the ./src
folder. Outputs to ./types
.