rx/presenters

View on GitHub
scripts/build.sh

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash
set -eo pipefail
pushd views/mdc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
nvm install `cat .nvmrc`
nvm use `cat .nvmrc`
npm install
npx webpack  $1