{
  "name": "reachat",
  "version": "4.0.0",
  "description": "Chat UI for Building LLMs",
  "scripts": {
    "build-storybook": "storybook build",
    "build": "npm run build:js && npm run build:styles && npm run rewrite:stories",
    "build:js": "vite build --mode library",
    "build:styles": "npx @tailwindcss/cli -i ./src/index.css -o ./dist/index.css",
    "lint": "eslint src stories",
    "lint:fix": "eslint src stories --fix",
    "lint:prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
    "prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
    "rewrite:stories": "node scripts/stories.cjs",
    "start": "storybook dev -p 9009",
    "test": "vitest --passWithNoTests",
    "test:coverage": "vitest run --coverage --passWithNoTests",
    "test:visual": "test-storybook --url http://localhost:9009",
    "test:visual:update": "test-storybook --url http://localhost:9009 --updateSnapshot",
    "prepare": "husky"
  },
  "license": "Apache-2.0",
  "files": [
    "dist"
  ],
  "type": "module",
  "types": "dist/index.d.ts",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "source": "src/index.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./stories/*": "./dist/stories/*",
    "./index.css": "./dist/index.css"
  },
  "browser": "dist/index.js",
  "typings": "dist/index.d.ts",
  "dependencies": {
    "@floating-ui/dom": "^1.6.0",
    "@floating-ui/react": "^0.27.6",
    "@radix-ui/react-slot": "^1.1.0",
    "@tiptap/core": "^3.25.0",
    "@tiptap/extension-document": "^3.25.0",
    "@tiptap/extension-hard-break": "^3.25.0",
    "@tiptap/extension-mention": "^3.25.0",
    "@tiptap/extension-paragraph": "^3.25.0",
    "@tiptap/extension-placeholder": "^3.25.0",
    "@tiptap/extension-text": "^3.25.0",
    "@tiptap/extensions": "^3.25.0",
    "@tiptap/pm": "^3.25.0",
    "@tiptap/react": "^3.25.0",
    "@tiptap/suggestion": "^3.25.0",
    "date-fns": "^4.1.0",
    "katex": "^0.16.11",
    "lodash": "^4.17.21",
    "mdast-util-find-and-replace": "^3.0.1",
    "motion": "^12.4.2",
    "reablocks": "^10.2.0",
    "react-markdown": "^10.0.0",
    "react-syntax-highlighter": "^16.1.0",
    "reakeys": "^2.0.3",
    "rehype-katex": "^7.0.0",
    "rehype-raw": "^7.0.0",
    "remark-gfm": "^4.0.0",
    "remark-math": "^6.0.0",
    "remark-youtube": "^1.3.2",
    "unified": "^11.0.5",
    "unist-util-visit": "^5.0.0",
    "zod": "^4.0.0"
  },
  "peerDependencies": {
    "react": ">=18",
    "react-dom": ">=18",
    "reaviz": ">=16"
  },
  "peerDependenciesMeta": {
    "reaviz": {
      "optional": true
    }
  },
  "devDependencies": {
    "@eslint/js": "^9.39.4",
    "@storybook/addon-docs": "^10.4.2",
    "@storybook/addon-themes": "^10.4.2",
    "@storybook/react": "^10.4.2",
    "@storybook/react-vite": "^10.4.2",
    "@storybook/test-runner": "^0.24.0",
    "@tailwindcss/cli": "^4.3.0",
    "@tailwindcss/postcss": "^4.3.0",
    "@tailwindcss/vite": "^4.3.0",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/react": "^16.3.2",
    "@types/lodash": "^4.17.21",
    "@types/mdast": "^4.0.4",
    "@types/react": "^19.0.0",
    "@types/react-dom": "^19.0.0",
    "@typescript-eslint/eslint-plugin": "^8.60.1",
    "@typescript-eslint/parser": "^8.60.1",
    "@vitejs/plugin-react": "^6.0.2",
    "@vitest/coverage-v8": "^4.1.8",
    "eslint": "^9.39.4",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-no-relative-import-paths": "^1.5.4",
    "eslint-plugin-react": "^7.34.1",
    "eslint-plugin-react-hooks": "^7.1.1",
    "eslint-plugin-storybook": "^10.4.2",
    "fast-glob": "^3.3.2",
    "globals": "^17.6.0",
    "husky": "^9.0.11",
    "jest-image-snapshot": "^6.4.0",
    "jiti": "^2.7.0",
    "jsdom": "^29.1.1",
    "lint-staged": "^16.4.0",
    "postcss": "^8.4.39",
    "prettier": "^3.2.5",
    "react": "^19.0.0",
    "react-dom": "^19.0.0",
    "reaviz": "^16.1.1",
    "rollup-plugin-peer-deps-external": "2.2.4",
    "storybook": "^10.4.2",
    "tailwindcss": "^4.3.0",
    "typescript": "^6.0.3",
    "typescript-rewrite-paths": "^1.3.1",
    "vite": "^8.0.16",
    "vite-plugin-checker": "^0.14.1",
    "vite-plugin-css-injected-by-js": "^5.0.1",
    "vite-plugin-dts": "^5.0.2",
    "vite-plugin-static-copy": "^4.1.0",
    "vite-plugin-svgr": "^5.2.0",
    "vitest": "^4.1.8"
  },
  "prettier": {
    "semi": true,
    "singleQuote": true,
    "trailingComma": "none",
    "arrowParens": "avoid",
    "bracketSpacing": true,
    "printWidth": 80
  },
  "lint-staged": {
    "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
      "prettier --write"
    ]
  }
}
