Building your Webchat
You need an installed version of Node.js to build your Webchat. Clone this repository, then run npm i and npm run bundle within the root folder to install dependencies and create bundle files in dist/.
And in the scripts it is missing:
"scripts": {
"build": "webpack --config webpack.production.js",
"update-license": "node update-license.js",
"dev": "webpack-dev-server --config webpack.dev.js --host 0.0.0.0",
"cypress:open": "cypress open --e2e --browser chrome",
"cypress:open:firefox": "cypress open --e2e --browser firefox",
"cypress:serve": "http-server -a localhost -p 8787 dist/",
"cypress:run": "cypress run --browser chrome",
"cypress:run:firefox": "cypress run --browser firefox",
"test:cypress": "run-p -r cypress:serve cypress:run",
"test:cypress:firefox": "run-p -r cypress:serve cypress:run:firefox",
"test": "npm run test:cypress",
"pretest": "npm run build",
"prettier:check": "prettier --check --config .prettierrc.json src/",
"tsc:check": "tsc --noEmit",
"lint": "eslint src/",
"deps:check": "npx -y depcheck",
"deps:analyze": "npx -y webpack-bundle-analyzer stats.json dist"
},
So probably adjust README
Building your Webchat
You need an installed version of
Node.jsto build your Webchat. Clone this repository, then runnpm iandnpm run bundlewithin the root folder to install dependencies and create bundle files indist/.And in the scripts it is missing:
"scripts": {
"build": "webpack --config webpack.production.js",
"update-license": "node update-license.js",
"dev": "webpack-dev-server --config webpack.dev.js --host 0.0.0.0",
"cypress:open": "cypress open --e2e --browser chrome",
"cypress:open:firefox": "cypress open --e2e --browser firefox",
"cypress:serve": "http-server -a localhost -p 8787 dist/",
"cypress:run": "cypress run --browser chrome",
"cypress:run:firefox": "cypress run --browser firefox",
"test:cypress": "run-p -r cypress:serve cypress:run",
"test:cypress:firefox": "run-p -r cypress:serve cypress:run:firefox",
"test": "npm run test:cypress",
"pretest": "npm run build",
"prettier:check": "prettier --check --config .prettierrc.json src/",
"tsc:check": "tsc --noEmit",
"lint": "eslint src/",
"deps:check": "npx -y depcheck",
"deps:analyze": "npx -y webpack-bundle-analyzer stats.json dist"
},
So probably adjust README