#!/usr/bin/env bash set -e echo ">> Installing NPM Packages..." if [ -z "$IN_TEST" ]; then npm install -g cordova ionic # CircleCI can't find it otherwise fi npm install echo ">> Building Application source..." npm run build echo ">> Installing cordova platforms..." cordova platform add android echo ">> Installing cordova plugins..." cordova plugin add cordova-plugin-device-orientation