@onec1/webchat-app-3.5.31-bump
v3.5.31
Published
- [Build](./documentation/build.md) - [Deploy Demo Site](./documentation/deploy_demo.md) - [NPM Package](./documentation/npm_package.md)
Downloads
1
Readme
Webchat plugin/widget
Documentation Links
Setup
Install node dependencies
Note - package "@creedinteractive/webchat-app" and user needs to be added to organization prior to login / install steps
npm login
npm install
Run webpack to generate transpiled javascript
## From Makefile
# build once
make build
# build and watch for file changes.
make watch
## Using webpack directly
# From project's local webpack dependency with npm installed
npx webpack
# From project's local webpack dependency with npm installed, watch files and rebuild
npx webpack --clientid=1 --watch
# build war file
npx webpack --clientid=1 --war
# update api files (can be used in conjunction with watch)
npx webpack --updateApi
# From a global webpack install
webpack
To install npx, run npm install -g npx
, however it comes standard with newer versions of node.