Sending command line arguments to npm script
npm 2 and newer It’s possible to pass args to npm run since npm 2 (2014). The syntax is as follows: npm run <command> [– <args>] Note the — separator, used to separate the params passed to npm command itself, and the params passed to your script. With the example package.json: “scripts”: { “grunt”: “grunt”, … Read more