{
  "name": "@samthomson/nostr-messaging",
  "version": "0.17.1",
  "description": "Reusable Nostr messaging system with NIP-04 and NIP-17 support",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    "./core": {
      "types": "./dist/core/index.d.ts",
      "import": "./dist/core/index.js",
      "default": "./dist/core/index.js"
    },
    "./ui": {
      "types": "./dist/ui/index.d.ts",
      "import": "./dist/ui/index.js",
      "default": "./dist/ui/index.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "assets",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "dev": "vite build --watch",
    "build": "vite build",
    "test": "vitest run",
    "test:watch": "vitest",
    "prepublishOnly": "npm run build",
    "release": "sh scripts/release.sh"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "nostr",
    "messaging",
    "nip-04",
    "nip-17",
    "encryption",
    "direct-messages",
    "dm"
  ],
  "author": "",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://gitlab.com/soapbox-pub/nostr-messaging.git"
  },
  "dependencies": {
    "blurhash": "^2.0.5",
    "buffer": "^6.0.3",
    "fuse.js": "^7.1.0",
    "idb": "^8.0.3",
    "nostr-tools": "^2.13.0",
    "react-blurhash": "^0.3.0"
  },
  "peerDependencies": {
    "@nostrify/nostrify": ">=0.47.0",
    "@nostrify/react": ">=0.2.0",
    "@radix-ui/react-avatar": "^1.1.0",
    "@radix-ui/react-dialog": "^1.1.2",
    "@radix-ui/react-popover": "^1.1.0",
    "@radix-ui/react-scroll-area": "^1.1.0",
    "@radix-ui/react-select": "^2.1.1",
    "@radix-ui/react-separator": "^1.1.0",
    "@radix-ui/react-tabs": "^1.1.0",
    "@radix-ui/react-tooltip": "^1.1.4",
    "@tanstack/react-query": "^5.56.2",
    "clsx": "^2.0.0",
    "lucide-react": "^0.462.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-router-dom": "^6.0.0",
    "tailwind-merge": "^2.0.0"
  },
  "devDependencies": {
    "@nostrify/nostrify": "^0.47.1",
    "@nostrify/react": "^0.2.26",
    "@types/node": "^22.5.5",
    "@types/react": "^18.3.1",
    "@types/react-dom": "^18.3.1",
    "@vitejs/plugin-react-swc": "^3.5.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-router-dom": "^6.0.0",
    "typescript": "^5.5.3",
    "vite": "^6.3.5",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^3.1.4"
  }
}
