Skip to content

v3.1.0

Compare
Choose a tag to compare
@mysticatea mysticatea released this 01 Sep 10:12
· 81 commits to master since this release
v3.1.0
51eaa25

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. Now npm-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