Skip to content

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

@bobberg

Description

@bobberg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions