blockauth-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

Block-Auth SDK library JS

pipeline status coverage report Latest Release

This is a SDK-react for the BlockAuth project. Library written in javascript to provide a simple way to interact with the Block-Auth authentication service with users extensions, insights, and more.

How to use?

Use the official documentation at block-auth.io to learn how to use the SDK.

Development

Install dependencies

  npm install

CI/CD

  npm run ci

Start the development server

  npm run dev

After making changes to the code, run the following command to format the code, run the linter, and start the development server:

  npm run css && npm run lint && npm run format && npm run dev

NPM Scripts

Script Description
dev Starts the development server
css Builds the CSS
css:dev Builds the CSS in development mode
test Runs the tests and generates a coverage report
lint Runs the linter
lint:fix Runs the linter and fixes the errors
format Formats the code
build Builds the app for production
preview Builds the app for production and previews it locally
ci Runs the tests, linter, and code formatter
stories Starts the Storybook server
stories:build Builds the Storybook app for production
docs Starts the documentation server
docs:build Builds the documentation app for production
clean Removes dist, dist-stories, dist-docs, package-lock.json, .coverage and node_modules

Authors

Block-Auth.io Team

Package Sidebar

Install

npm i blockauth-sdk

Weekly Downloads

12

Version

0.1.14

License

ISC

Unpacked Size

58.9 kB

Total Files

15

Last publish

Collaborators

  • netzulo