@passageidentity/passage-js
Version:
Passage Complete for Web - Build a full custom passwordless authentication experience in any modern web app with Passage by 1Password.
110 lines (109 loc) • 3.53 kB
JSON
{
"name": "@passageidentity/passage-js",
"version": "4.1.2",
"private": false,
"publishConfig": {
"access": "public"
},
"description": "Passage Complete for Web - Build a full custom passwordless authentication experience in any modern web app with Passage by 1Password.",
"homepage": "http://docs.passage.id/complete",
"keywords": [
"JavaScript",
"TypeScript",
"authentication",
"passkeys",
"passwordless",
"WebAuthn",
"passkey-complete",
"web",
"biometrics",
"1Password",
"Passage",
"passage-sdk",
"ciam",
"identity",
"magic-links",
"otp",
"oauth2",
"oidc"
],
"author": "Passage by 1Password",
"license": "MIT",
"bugs": {
"url": "https://github.com/passageidentity/.github/blob/main/SUPPORT.md",
"email": "support@passage.id"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"engines": {
"node": "^18 || ^20 || ^21 || ^ 22"
},
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"CHANGELOG.md"
],
"scripts": {
"build:config": "npm run log:env && env-cmd -f ./.env.$APP_ENV ./scripts/build-config.sh",
"build:cdn": "vite build --config vite.cdn.config.ts --mode $MODE",
"build:dev": "npm run build:library",
"build:library": "npm run build:package && npm run build:cdn && npm run build:docs",
"build:library:watch": "npm run build:package:watch",
"build:package": "tsc --noEmit & vite build --mode $MODE",
"build:package:watch": "tsc --noEmit vite build --watch --mode $MODE",
"build:docs": "typedoc ./src/index.ts && cp docs/README.md README.md",
"clean:dist": "rss",
"clean:node_modules": "rss",
"clean:sourcemaps": "rss",
"clean:sourcemap:files": "rss",
"clean:sourcemap:refs": "rss",
"clean:sourcemap:refs:js": "rss",
"clean:sourcemap:refs:mjs": "rss",
"clean:sourcemap:refs:cjs": "rss",
"deploy:cloud-storage:dev": "gsutil -h 'Cache-Control:public, max-age=0' cp ./cdn/index.js gs://cdn.passage.dev/passage-js.js",
"deploy:cloud-storage:uat": "gsutil -h 'Cache-Control:public, max-age=0' cp ./cdn/index.js gs://cdn-uat.passage.dev/passage-js.js",
"deploy:cloud-storage:versioned-cdn": "./scripts/deploy-versioned-cdn.sh",
"format": "rss",
"link-packages": "rss",
"link-packages:update": "rss",
"lint": "rss",
"lint:fix": "rss",
"lint:staged": "rss",
"log:env": "rss",
"sentry:release": "env-cmd -f ./.env.$APP_ENV ./scripts/sentry-release.sh",
"test": "vitest run --environment happy-dom",
"test:watch": "vitest --environment happy-dom",
"serve": "npx http-server ./cdn -p 4175 --cors -c-1",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@passageidentity/typescript-config": "*",
"@types/base-64": "^1.0.0",
"@types/js-cookie": "^3.0.3",
"@types/jsonwebtoken": "^8.5.8",
"eslint-config-passage": "*",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"http-server": "^14.1.1",
"lint-staged": "^12.4.0",
"passage-js-shared": "*",
"typedoc": "^0.26.6",
"typedoc-plugin-markdown": "^4.2.6"
},
"dependencies": {
"@passageidentity/webauthnutils": "1.4.2",
"async-mutex": "^0.4.1",
"js-cookie": "^3.0.1",
"jwt-decode": "^3.1.2",
"serialize-error": "^11.0.0"
}
}