Prerequisites
What your app installs, what ships inside the package, and the credentials you need from your backend.
You install (peer dependencies)
Only what your app must own a single shared copy of - everything else the package needs installs itself.
Bundled inside the package
These are regular dependencies of the package: installing it pulls them in, uninstalling it removes them (unless something else in your project also uses them). Don't add them to your own package.json.
zustand, axios, socket.io-client, radix-ui, lucide-react, emoji-picker-react, clsx, tailwind-merge, class-variance-authority, react-hot-toast, firebase (push), date-fns, react-day-picker, lexical + @lexical/*, dompurify, @videosdk.live/react-sdk v0.13.3 (calling) and all chat UI components.
Lexical - nothing to install
Rich-text messaging needs Lexical, and it's already a dependency of the package. lexical, @lexical/react, @lexical/html and the rest land under node_modules automatically. Only add them yourself if you build a completely separate Lexical editor.
npm ls lexical @lexical/react dompurify # nested under @realtimexsco/live-chat