open-index/open-npm huggingface dataset:
npm package: @monksoftware/bob-core
Description: ## Project setup ``` npm install ```
Latest version: 0.0.30
Deprecated: this package has been deprecated

# bot-webclient - EiME Bot Platform Web Client

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Generate Stand-alone Web Component
```
npm run build-wc
```

### Chat configuration file
```
To load the configuration variables you've to add a json file named `config.json` into the `src/config` folder.
This file has to have the following structure:
```
```
{
  "XMPP_ENDPOINT": "wss://...",
  "XMPP_DOMAIN": "botname_here",
  "XMPP_RECEIVER": "botdomain_here",
  "XMPP_THREAD": "not always necessary",
  "BASE_ENDPOINT": "https://xmpp-ENV.monksoftware.it/api/v1",
  "ATTACHMENTS_ENDPOINT": "https://xmpp-ENV.monksoftware.it/api/v1/attachments"
}
```

### MISC
This webchat uses PLAIN XMPP login method as default.
If you need or want to use ANONYMOUS XMPP login feature instead, you just need to avoid to setup CHAT_USERNAME and CHAT_PWD into configuration file and it will magically works!