badoc.blogg.se

Install npm powershell
Install npm powershell




install npm powershell

When we talk about "npm scripts" we are talking about entries in the scripts field of the package.json.

install npm powershell

Everything in this post has been tested with npm version 6.10. While a lot of these things should work in yarn, berry and pnpm as well, we'll focus on npm in this article. In this blog post we'll talk about the most useful and some hidden features.īefore we get started, make sure you have the latest version of npm installed.

install npm powershell

While you might have used this to set up your "build", "dev" or "start" script, there's a lot of things you can do with them. This is where "npm scripts" come into place. However, sometimes you still have the need for very custom configurations and scripts. The Node.js ecosystem is full with useful CLI tools and most of them offer configurations that let you tune them to do exactly what you want.






Install npm powershell