Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Npm run all

Npm run all

Npm run is the last utility you will need to know when it comes to task automation in your web project!

More Decks by Alexandre Valsamou-Stanislawski

Other Decks in Programming

Transcript

  1. npm run all run the world, one command at a

    time @bobylito - ParisJS#46
  2. It executes commands • defined in scripts object of the

    package.json • the commands are run with : 
 npm run command
  3. Some links • Real world switching to NPM run :

    http:// blog.keithcirkel.co.uk/how-to-use-npm-as-a- build-tool/ • Official doc : https://docs.npmjs.com/cli/run- script • Task automation with NPM run : http:// substack.net/task_automation_with_npm_run