{"_id":"@brainfish-ai/agent-chat-widget","_rev":"3-0164fb4c490093ba1798dc295e844a06","name":"@brainfish-ai/agent-chat-widget","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@brainfish-ai/agent-chat-widget","version":"0.1.0","_id":"@brainfish-ai/agent-chat-widget@0.1.0","maintainers":[{"name":"ajainvivek","email":"ajainvivek07@gmail.com"},{"name":"johnfumaster","email":"johnfumaster@gmail.com"}],"dist":{"shasum":"b1482c671c9d11e1bfcd953d68f5c95f02bd99ee","tarball":"https://registry.npmjs.org/@brainfish-ai/agent-chat-widget/-/agent-chat-widget-0.1.0.tgz","fileCount":7,"integrity":"sha512-wr7KuFU2DCkD+mzhM+oesfX6EdaILozxLjbNf8ju5URF8ZTuOYlEHQXH9PUqQOE3oaUk9n7050WGggDDtyEyBg==","signatures":[{"sig":"MEUCIQDvffMSEbSovrJjy0yoBR6kIkRBGav4Hi0XzDaXrmDVvAIgL8H0FBkliB9pQKSChfNDcIrLYuEhS1wWKWqR/5MSR90=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15032},"type":"module","types":"./dist/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","default":"./dist/esm/index.js"},"./styles.css":"./dist/esm/index.css"},"gitHead":"120920675e83cc42e29c78258abd32a8b8d97764","scripts":{"ci":"yarn lint && yarn test --watch=false","lint":"yarn check-types && yarn eslint","test":"vitest --config ./vitest.config.ts","build":"rimraf dist && NODE_ENV=production BABEL_ENV=production rollup -c","start":"NODE_ENV=development BABEL_ENV=development yarn storybook","watch":"rollup -c -w","eslint":"eslint . --ext .js,.jsx,.tsx,.ts","release":"yarn ci && yarn build && npm publish","lint:fix":"yarn eslint:fix","storybook":"storybook dev -p 6006","eslint:fix":"eslint . --ext .js,.jsx,.tsx,.ts --fix","check-types":"tsc --noEmit true","storybook:build":"storybook build","storybook:deploy":"yarn storybook:build && touch ./storybook-static/.nojekyll && gh-pages -d ./storybook-static -t true"},"_npmUser":{"name":"ajainvivek","email":"ajainvivek07@gmail.com"},"_npmVersion":"9.8.1","description":"Brainfish Agent Chat Widget","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.18.0","dependencies":{"ajv":"^8.17.1","cmdk":"^1.1.1","immer":"^10.1.1","select":"^1.1.2","shadcn":"latest","mermaid":"^11.4.0","date-fns":"^4.1.0","react-use":"^17.6.0","use-immer":"^0.11.0","ajv-errors":"^3.0.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.0","ajv-formats":"^3.0.1","framer-motion":"^11.15.0","path-to-regexp":"^8.2.0","react-markdown":"^9.0.3","react-hook-form":"^7.54.2","react-day-picker":"^8.9.1","@hookform/resolvers":"^4.0.0","@paralleldrive/cuid2":"^2.2.2","@phosphor-icons/react":"^2.1.7","@radix-ui/react-icons":"^1.3.2","@radix-ui/react-label":"^2.1.2","@radix-ui/react-dialog":"^1.1.7","@radix-ui/react-select":"^2.1.6","@radix-ui/react-switch":"^1.1.2","@radix-ui/react-popover":"^1.1.6","@radix-ui/react-tooltip":"^1.1.6","react-syntax-highlighter":"^15.6.1","@radix-ui/react-collapsible":"^1.1.2","@radix-ui/react-scroll-area":"^1.2.2","@radix-ui/react-dropdown-menu":"^2.1.4"},"_hasShrinkwrap":false,"packageManager":"yarn@3.6.3","devDependencies":{"clsx":"^2.0.0","vite":"^4.5.0","jsdom":"^22.1.0","react":"^18.2.0","tslib":"^2.6.2","eslint":"^8.52.0","rimraf":"^5.0.5","rollup":"^4.3.0","vitest":"^0.34.6","postcss":"^8.4.31","gh-pages":"^6.0.0","prettier":"3.0.3","react-dom":"^18.2.0","storybook":"^8.6.12","typescript":"5.2.2","@types/node":"^20.8.10","tailwindcss":"^3.4.1","@svgr/rollup":"^8.1.0","@types/react":"^18.2.34","autoprefixer":"^10.4.16","postcss-scss":"^4.0.9","@types/mermaid":"^9.2.0","tailwind-merge":"^2.0.0","@storybook/test":"^8.6.12","@storybook/react":"^8.6.12","@types/react-dom":"^18.2.14","vite-plugin-svgr":"^4.1.0","@storybook/blocks":"^8.6.12","rollup-plugin-dts":"^6.1.0","@rollup/plugin-url":"^8.0.2","eslint-plugin-react":"^7.33.2","regenerator-runtime":"^0.14.0","tailwindcss-animate":"^1.0.7","@radix-ui/react-slot":"^1.1.2","@rollup/plugin-alias":"^5.1.1","eslint-plugin-import":"^2.29.0","rollup-plugin-terser":"^7.0.2","@storybook/addon-docs":"^8.6.12","@storybook/react-vite":"^8.6.12","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-postcss":"^4.0.2","@storybook/addon-links":"^8.6.12","@testing-library/react":"^14.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-jsx-a11y":"^6.8.0","eslint-plugin-prettier":"^5.0.1","rollup-plugin-filesize":"^10.0.0","@rollup/plugin-commonjs":"^25.0.7","@storybook/addon-themes":"^8.6.12","eslint-plugin-storybook":"^0.12.0","@storybook/addon-styling":"^1.3.7","class-variance-authority":"0.7.0","rollup-plugin-visualizer":"^5.14.0","@rollup/plugin-typescript":"^11.1.5","@testing-library/jest-dom":"^6.1.4","@typescript-eslint/parser":"latest","eslint-plugin-react-hooks":"^4.6.0","@rollup/plugin-node-resolve":"^15.2.3","@storybook/addon-essentials":"^8.6.12","@storybook/addon-onboarding":"^8.6.12","@testing-library/user-event":"^14.5.1","eslint-plugin-react-refresh":"^0.4.4","@storybook/addon-interactions":"^8.6.12","@tailwindcss/container-queries":"^0.1.1","@types/react-syntax-highlighter":"^15.5.13","@typescript-eslint/eslint-plugin":"latest","rollup-plugin-peer-deps-external":"^2.2.4"},"peerDependencies":{"clsx":"2.x","react":"^18.2.0","react-dom":"^18.2.0","tailwind-merge":"^2.0.0","tailwindcss-animate":"^1.0.7","@phosphor-icons/react":"^2.1.7","class-variance-authority":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/agent-chat-widget_0.1.0_1747204349001_0.011785869882985134","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-05-14T06:32:28.928Z","modified":"2025-12-22T23:57:52.627Z","0.1.0":"2025-05-14T06:32:29.173Z"},"description":"Brainfish Agent Chat Widget","maintainers":[{"email":"ajainvivek07@gmail.com","name":"ajainvivek"},{"email":"johnfumaster@gmail.com","name":"johnfumaster"},{"email":"charlie.shen@brainfi.sh","name":"charlie.shen.brainfi.sh"},{"email":"emmanuel@brainfi.sh","name":"e.brainfish"}],"readme":"# Brainfish Components\n\nBrainfish Components is a React component library starter kit, that helps you to create your own React component library with ease.\n\n## Getting started\n\n```\nyarn install\n```\n\n## Developing\n\nTo start the developing run :\n\n```\nyarn start\n```\n\nThis will build a version of your library, run the watcher and also run Storybook.\nTo open Storybook manually open your Browser and navigate to [http://localhost:6060](http://localhost:6060).\nStart developing your components in `src/components` folder and update the `src/index.js` file accordingly.\nAlways provide an `YourComponent.story.tsx` file, so your component will show up in Storybook.\n\nYou can refer to example `Button` component, but I think you'll get the idea.\n\n## Linting and Code formating for Typescript\n\nLinting and code formating is done via [ESLint](https://eslint.org/) and [Prettier](https://prettier.io/) using [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) and\n[eslint-config-prettier](https://github.com/prettier/eslint-config-prettier).\nYou can modify linting rules by overriding them in the `.eslintrc.cjs` file.\n\n```\nyarn lint\n```\n\nor (if automatic fixing is possible)\n\n```\nyarn lint:fix\n```\n\n## Testing\n\nTesting is done with [Vitest](https://vitest.dev/) and [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/)\nYou can refer to `Button.test.js` as an example.\n\n```\nyarn test\n```\n\n## Publishing your library to NPM\n\nTo release your library to NPM or your private Registry, make sure you have an active account at [NPM](https://www.npmjs.com/), your `.npmrc` file is correctly setup and the registry url at publishConfig in `package.json` file is set to your repository url, then:\n\n```\nyarn release\n```\n\n## Storybook\n\nFor custom layouts, styling and more information about Storybook, please refer to [Storybook](https://storybook.js.org/basics/writing-stories/) documentation.\n\n#### Deploy Storybook to GitHub Pages\n\nMake sure the homepage url in `package.json` file is set to your githup pages url, then:\n\n```\nyarn deploy\n```\n\n## Scripts\n\n- `yarn start` : Only serves Storybook.\n- `yarn build` : Builds your library (build can be found in `dist` folder).\n- `yarn storybook:build` : Builds the static Storybook in case you want to deploy it.\n- `yarn test` : Runs the tests.\n- `yarn test:coverage`: Runs the test and shows the coverage.\n- `yarn lint` : Runs the linter, Typescript typecheck and stylelint.\n- `yarn lint:fix` : Runs the linter, Typescript typecheck and stylelint and fixes automatic fixable issues.\n- `yarn eslint`: Runs only the JavaScript linter.\n- `yarn eslint:fix`: Runs only the JavaScript linter and fixes automatic fixable issues.\n- `yarn stylelint`: Runs only the style linter.\n- `yarn stylelint:fix`: Runs only the style linter and fixes automatic fixable issues.\n- `yarn check-types`: Runs typescript type checker.\n- `yarn ci`: Runs Linting, tests and type checker all together.\n- `yarn release` : Publishes your Library on NPM or your private Registry (depending on your config in your `.npmrc` file).\n- `yarn storybook`: Same as yarn start, to serve storybook.\n- `yarn storybook:build`: Generates the build for storybook in `storybook-static` folder, that can be deployed wherever you need.\n- `yarn storybook:deploy`: Builds and deploys Storybook to GitHub Pages.\n\n## Resources\n\n### Bundler\n\n- [Rollup.js](https://rollupjs.org/guide/en)\n\n### Code Formatter\n\n- [Prettier](https://prettier.io/)\n\n### Storybook\n\n- [Storybook](https://storybook.js.org/)\n\n### Testing\n\n- [Vitest](https://vitest.dev/)\n- [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/)\n- [@testing-library/jest-dom](https://github.com/testing-library/jest-dom)\n\n### Linting\n\n- [ESLint](https://eslint.org/)\n- [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react)\n- [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier)\n- [stylelint-prettier](https://github.com/prettier/stylelint-prettier)\n- [stylelint-scss](https://github.com/kristerkari/stylelint-scss)\n\n### Compiler\n\n- [Typescript](https://www.typescriptlang.org/)\n","readmeFilename":"README.md"}