How can I transfer the keys to the NPM program -


i have in package.json

"scripts": {   "webplugin_default": "export node_env=default&& export node_minified=false&& webpack",   "webplugin_custom": "export node_env=custom&& export node_minified=false&& webpack", }, 

but want convenience not run

$ npm run webplugin_default # or $ npm run webplugin_custom 

i want to

$ npm run webplugin --theme custom # or $ npm run webplugin # set default theme 

how can that?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -