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

How to get the arclen between two curve points in Maya? -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -

C++ Linked List -