Skip to content

TextUsBiz/Embedded-Messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Messenger

This codebase houses the code for embedded conversation and embedded messenger.

Making changes to embedded snippet

Make changes to files in /src directory.

To compile typescript changes.

npm run build

Or, compile and watch for typescript changes.

npm run build:watch

On change, the /dist folder will be updated with generated javascript and source maps.

Build the library files

The scripts/build.js file handles bundling and outputting the library files that will be hosted by our CDN.

Run the following command to build the scripts and update the lib files.

npm run build

View docs

npm run docs

Code flow

src/* --> dist/* --> lib/*

src/    # contains the typescript files we create.
dist/   # contains the compiled javascript files. (Compiled with tsc)
lib/    # contains the bundled and minified lib files. (Build with build.js)

Testing

To test changes locally, use the Playground repo. It contains sample apps that use the snippet.

git clone git@github.com:TextUsBiz/Embedded-Tesseract-Playground.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •