options
Last updated
Was this helpful?
Was this helpful?
# Run as NODE_ENV=production
mhy eslint --mhy-env=prod
# Run as NODE_ENV=production with secondary env called `ci`
mhy eslint --mhy-env=prod:ui# Run webpack with configuration loaded for production mode, on Travis-CI only for the master branch.
mhy webpack --mhy-env=prod:travis:master# On building master I don't need to run tests because they were validated before pull requests
mhy jest --mhy-if="!process.env.MHY_ENVS.includes('master')"# show mhy's currently installed version
mhy --mhy-version