chili-chat
v1.1.244
Published
## General overview
Downloads
19
Readme
Chili chat
General overview
Chili chat has 2 parts:
- widget - the chat widget itself written using Preact
- embed - embedded script used to load the chat into an iframe and communicate with it
Tech stack
yarnvitetypescriptpreact- usingpreact/compatfor react like API compatibilityjest- usingbabelto load the .tsx@testing-library- preact + extended jest matchers + user-eventmsw- for mocked requestsprettier- using@chilipiper/prettier-configeslint- using@chilipiper/eslint-configrollup-plugin-visualizer- nice visualization of what's in the bundle
Available commands
Commands with possible embed: and widget: prefixes to scope
dev- runs developmentbuild- runs tsc and builds the appserve- serves previously built appanalyze- builds the app and shows the visualization of the bundle
General commands
types- runs tsctest- runs jest testformat- formats with prettierlint- lints with eslintprepare- installs husky git hooksstorybook- runs storybookbuild-storybook- builds storybook
Deployment infrastructure
Read more https://app.getguru.com/card/T5pM8kdc/Chili-Chat
