nntrn
4/10/2019 - 3:44 AM

[Using npm scripts]

[Using npm scripts]

Using npm scripts

Our package.json includes the following commands and tasks:

TaskDescription
npm run distnpm run dist creates the /dist/ directory with compiled files. Uses Sass, Autoprefixer, and UglifyJS.
npm testSame as npm run dist plus it runs tests locally
npm run docsBuilds 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