Project Structure and Dependencies

Project Structure

├── .eslintrc.js
          ├── src
          │   ├── components
          │   │   ├── index.tsx
          │   │   └── Message.tsx
          │   └── utils
          │       └── config.ts
          ├── jest.config.js
          ├── rollup.config.js
          ├── scripts
          │   └── build.js
          ├── public
          │   └── index.html
          ├── vite.config.js
          └── package.json
          

Dependencies

The project uses the following dependencies:

Development Dependencies

The project uses the following development dependencies:

Configuration Files

Build Process

The project uses Vite for development and Rollup for building a production bundle. The scripts folder contains build scripts.

Development

To start the development server, run:

npm run dev
          

Production Build

To build the project for production, run:

npm run build
          

Packaging and Publishing

The project is packaged as a npm package. To publish the package, run:

npm publish
          

This will make the package available on the npm registry.