0.1.0 • Published 2 years ago
magic-link-popup v0.1.0
magic-link-popup
An alternative interface for using magic-sdk on the web, which opens login requests in a popup window or new tab on mobile rather than redirecting to a new page. This is especially useful for SPAs. This library is framework agnostic, but if you are looking for something more opinionated towards React, check out magic-link-popup-react.
Dev Scripts
dev- starts dev serverbuild- generates the following bundles: CommonJS (.cjs) ESM (.mjs) and IIFE (.iife.js). The name of bundle is automatically taken frompackage.jsonname propertytest- starts vitest and runs all teststest:coverage- starts vitest and run all tests with code coverage reportlint:scripts- lint.tsfiles with eslintlint:styles- lint.cssand.scssfiles with stylelintformat:scripts- format.ts,.htmland.jsonfiles with prettierformat:styles- format.csand.scssfiles with stylelintformat- format all with prettier and stylelintprepare- script for setting up husky pre-commit hookuninstall-husky- script for removing husky from repositoryrelease- generates a new release and publishes it to npm and GitHub