UNPKG

@nhost/hasura-auth-js

Version:

Hasura-auth client

81 lines 2.3 kB
{ "name": "@nhost/hasura-auth-js", "version": "2.12.0", "description": "Hasura-auth client", "license": "MIT", "keywords": [ "nhost", "hasura", "auth", "authentication", "graphql", "postgresql", "realtime" ], "author": "Nhost", "homepage": "https://nhost.io", "bugs": "https://github.com/nhost/nhost/issues", "repository": { "type": "git", "url": "https://github.com/nhost/nhost.git" }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "files": [ "dist", "umd", "README.md" ], "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "node": "./dist/index.cjs.js", "default": "./dist/index.esm.js" }, "require": "./dist/index.cjs.js" } }, "publishConfig": { "access": "public" }, "dependencies": { "@simplewebauthn/browser": "^9.0.1", "fetch-ponyfill": "^7.1.0", "js-cookie": "^3.0.5", "jwt-decode": "^4.0.0", "xstate": "^4.38.3" }, "devDependencies": { "@simplewebauthn/typescript-types": "^6.2.1", "@types/js-cookie": "^3.0.6", "cheerio": "1.0.0-rc.12", "mailhog": "^4.16.0", "msw": "^1.3.5", "@nhost/docgen": "0.3.0" }, "scripts": { "dev": "vite build --config ./vite.dev.config.js", "build": "run-p typecheck build:lib build:umd", "typecheck": "tsc --noEmit", "build:lib": "vite build", "build:umd": "vite build --config ../../config/vite.lib.umd.config.js", "test": "vitest run", "test:watch": "vitest", "e2e": "pnpm e2e:backend && pnpm ci:test", "ci:test": "vitest run --config vite.config.e2e.js", "e2e:backend": "cp .secrets.example .secrets && nhost up --down-on-error", "test:coverage": "vitest run --coverage", "prettier": "prettier --check src/", "prettier:fix": "prettier --write src/", "lint": "eslint . --ext .ts,.tsx", "lint:fix": "eslint . --ext .ts,.tsx --fix", "verify": "run-p prettier lint", "verify:fix": "run-p prettier:fix lint:fix", "typedoc": "typedoc --options ./auth.typedoc.json --tsconfig ./typedoc.tsconfig.json", "docgen": "pnpm typedoc && docgen --config ./auth.docgen.json" } }