[Using npm scripts]
Our package.json includes the following commands and tasks:
| Task | Description |
|---|---|
| npm run dist | npm run dist creates the /dist/ directory with compiled files. Uses Sass, Autoprefixer, and UglifyJS. |
| npm test | Same as npm run dist plus it runs tests locally |
| npm run docs | Builds and lints CSS and JavaScript for docs. You can then run the documentation locally via npm run docs-serve. |
Run npm run to see all the npm scripts.
https://getbootstrap.com/docs/4.3/getting-started/build-tools/#using-npm-scripts