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 -

javascript - IE9 error '$'is not defined -