Back to Browse

What Are NPM Scripts?

1.2K views
Jan 27, 2021
4:36

See the written version of this tutorial for links to prerequisites and related tutorials: https://heynode.com/tutorial/what-are-npm-scripts?utm_source=youtube&utm_medium=referral+&utm_campaign=YT+description&utm_content=what-are-npm-scripts An npm script is a convenient way to bundle common shell commands for your project. They are typically commands, or a string of commands, which would normally be entered at the command line in order to do something with your application. Common use cases for npm scripts include building your Node project, starting a development server, compiling CSS, linting, minifying, or anything else you find yourself typing into your terminal frequently that's related to your project. In this tutorial we'll: - Learn what an npm script is in Node - Learn how to run scripts with npm - Explain the difference between custom and default scripts Heynode.com: The best online Node.js courses and tutorials to help you solve hard problems fast.

Download

0 formats

No download links available.

What Are NPM Scripts? | NatokHD