{
  "name": "@duochat/chat-widget",
  "version": "1.0.7",
  "description": "Embeddable Duochat messenger widget — npm package and CDN distribution",
  "license": "MIT",
  "type": "module",
  "sideEffects": true,
  "main": "./dist/sdk/index.cjs",
  "module": "./dist/sdk/index.js",
  "types": "./dist/sdk/index.d.ts",
  "browser": "./dist/sdk/index.umd.js",
  "unpkg": "./dist/sdk/index.umd.js",
  "jsdelivr": "./dist/sdk/index.umd.js",
  "exports": {
    ".": {
      "types": "./dist/sdk/index.d.ts",
      "import": "./dist/sdk/index.js",
      "require": "./dist/sdk/index.cjs"
    },
    "./standalone": {
      "default": "./dist/sdk/index.umd.js"
    },
    "./manifest": {
      "default": "./dist/embed/cdn-manifest.json"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist/sdk",
    "dist/widget",
    "dist/embed",
    "dist/cdn",
    "README.md"
  ],
  "scripts": {
    "dev": "vite",
    "build": "yarn build:sdk && yarn build:widget",
    "build:sdk": "vite build --config vite.config.sdk.ts",
    "build:widget": "vite build --config vite.config.widget.ts",
    "postbuild": "node scripts/postbuild.mjs",
    "prepublishOnly": "yarn build",
    "preview": "vite preview",
    "start": "vite preview --host",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit",
    "check-types": "tsc --noEmit",
    "lint": "eslint . --config ../../eslint.config.js",
    "lint:fix": "eslint . --fix --config ../../eslint.config.js",
    "clean": "rm -rf dist node_modules/.tmp"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/duochat-app/duochat-frontend.git",
    "directory": "apps/chat-widget"
  },
  "keywords": [
    "duochat",
    "chat",
    "widget",
    "messenger",
    "embed",
    "cdn",
    "customer-support"
  ],
  "dependencies": {},
  "devDependencies": {
    "@types/react": "19.2.15",
    "@types/react-dom": "19.2.3",
    "@vitejs/plugin-react": "5.0.3",
    "@vitejs/plugin-react-swc": "4.3.1",
    "jsdom": "26.1.0",
    "react": "19.2.0",
    "react-dom": "19.2.0",
    "socket.io-client": "4.8.3",
    "typescript": "5.9.3",
    "vite": "7.3.5",
    "vite-plugin-dts": "5.0.1",
    "vite-tsconfig-paths": "6.1.0",
    "vitest": "3.2.6"
  },
  "engines": {
    "node": ">=20"
  }
}
