magic-link-popup
v0.1.0
Published
An alternative interface for using [`magic-sdk`](https://www.npmjs.com/package/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
Downloads
16
Readme
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.json
name propertytest
- starts vitest and runs all teststest:coverage
- starts vitest and run all tests with code coverage reportlint:scripts
- lint.ts
files with eslintlint:styles
- lint.css
and.scss
files with stylelintformat:scripts
- format.ts
,.html
and.json
files with prettierformat:styles
- format.cs
and.scss
files 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