Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run bundle in README.md, but script is missing in package.json #57

Open
bobberg opened this issue Jan 28, 2025 · 0 comments
Open

npm run bundle in README.md, but script is missing in package.json #57

bobberg opened this issue Jan 28, 2025 · 0 comments

Comments

@bobberg
Copy link

bobberg commented Jan 28, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant