Sending command line arguments to npm script
"scripts": { "start": "node ./script.js server" }
However, I would like to be able to run something like npm start 8080 and have the argument(s) passed to script.js (e.g. npm start 8080 => nodes ./script.js server 8080). Is this conceivable?
-
valina g -
Thanks
{{ DiscussionBoard.errors[11724004].message }} -