{
  "name": "@happyvertical/smrt-users",
  "version": "0.43.3",
  "description": "Multi-tenant user management for the SMRT framework - users, tenants, roles, permissions, groups",
  "type": "module",
  "smrtRawPrimitives": "strict",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./app-contract": {
      "types": "./dist/app-contract.d.ts",
      "import": "./dist/app-contract.js"
    },
    "./sveltekit": {
      "types": "./dist/sveltekit/index.d.ts",
      "import": "./dist/sveltekit.js"
    },
    "./manifest": "./dist/manifest.json",
    "./manifest.json": "./dist/manifest.json",
    "./playground": {
      "types": "./dist/playground.d.ts",
      "import": "./dist/playground.js"
    },
    "./svelte": {
      "types": "./dist/svelte/index.d.ts",
      "svelte": "./dist/svelte/index.js",
      "import": "./dist/svelte/index.js"
    }
  },
  "files": [
    "dist",
    "CLAUDE.md",
    "AGENTS.md"
  ],
  "peerDependencies": {
    "svelte": "^5.56.4"
  },
  "peerDependenciesMeta": {
    "svelte": {
      "optional": true
    }
  },
  "dependencies": {
    "@happyvertical/logger": "^0.88.0",
    "@happyvertical/sql": "^0.88.0",
    "jose": "^6.2.3",
    "@happyvertical/smrt-config": "0.43.3",
    "@happyvertical/smrt-core": "0.43.3",
    "@happyvertical/smrt-mobile-contract": "0.43.3",
    "@happyvertical/smrt-types": "0.43.3",
    "@happyvertical/smrt-tenancy": "0.43.3",
    "@happyvertical/smrt-profiles": "0.43.3",
    "@happyvertical/smrt-ui": "0.43.3"
  },
  "devDependencies": {
    "@sveltejs/package": "^2.5.8",
    "@sveltejs/vite-plugin-svelte": "^7.1.2",
    "@types/node": "24.13.2",
    "fast-glob": "^3.3.3",
    "svelte": "^5.56.4",
    "svelte-check": "^4.7.1",
    "typescript": "5.9.3",
    "vite": "8.1.4",
    "vitest": "4.1.10",
    "@happyvertical/smrt-vitest": "0.43.3"
  },
  "keywords": [
    "smrt",
    "users",
    "tenants",
    "roles",
    "permissions",
    "groups",
    "multi-tenant",
    "rbac"
  ],
  "author": "HappyVertical",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/happyvertical/smrt.git",
    "directory": "packages/users"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "scripts": {
    "build": "vite build --mode library && svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json",
    "build:watch": "vite build --mode library --watch",
    "clean": "rm -rf dist",
    "dev": "npm run build:watch",
    "test": "vitest run",
    "test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run src/__tests__/permission-postgres-rls.test.ts src/__tests__/principal-permission-context-postgres.test.ts src/__tests__/oidc-provisioning-postgres.test.ts src/__tests__/terminal-auth-postgres.test.ts",
    "typecheck": "tsc --noEmit && node ../../scripts/svelte-check-a11y.mjs --tsconfig ./tsconfig.svelte.json",
    "check": "pnpm exec svelte-check --tsconfig ./tsconfig.svelte.json",
    "verify:pack": "node ../../scripts/verify-package-types-exports.js ."
  }
}