Features
-
09507bc added supporting
$npm_config_xxx
(fixes #60)npm run-script
command has supported--name=value
style options. This style options make environment variables$npm_config_name
(%npm_config_name%
on Windows), then we can use those environment variables in npm-scripts. Nownpm-run-all
also got supports of the--name=value
style options and$npm_config_name
variables.
For examples:{ "scripts": { "echo": "echo $npm_config_foo" } }
$ npm run echo --foo=777 777 $ npm-run-all echo --foo=888 888