mhy [process|tool] [argument1] [argument2] [...]
All arguments will be passed to the given process's CLI tool, just like you would use that tool by default - making
mhy act as a wrapper for your command.
mhy jest -u# Equals to (except it's using the environment/config provided by mhy)jest -u
You may change some behaviors of
mhy and it's processes by changing the following config options under the key:
Falls back to global if local not found.
Root folder to be used for sources.
Default aliases to be resolved. With the default solution you only need to use it as
The default ecosystem to be loaded.
process.env.NODE_ENV variable is having different effects on different parts of
mhy which can be either
production. The term
root in the hierarchy is always referring to the resource that's being available in every case, regardless of the current environment.
With each version of
mhy we're also releasing a Docker image containing the corresponding version. It can be used to speed up deployments and/or to prevent a local/global install on your host OS.
docker pull wintercounter/mhydocker run -it -v $(pwd):/app -w /app wintercounter/mhy mhy jest# On Windows (different CWD syntax)docker run -it -v %CD%:/app -w /app wintercounter/mhy mhy jest