December 2017
Intermediate to advanced
498 pages
11h 54m
English
Another advantage is that npm can also be used as a build tool. The scripts field in your package file allows you to set various build directives executed at some point following certain npm commands. For example, you might want to minify Javascript, or execute some other processes that build dependencies that your module will need whenever npm install is executed. The available directives are as listed:
Read now
Unlock full access