#!/bin/bash

if [ ! -f package.json ];
then
	echo "in a angular project plz"
	exit 0
fi


if [ ! -d node_modules ];
then
    echo "node_modules missing, we'll install package first"
    npm install
fi


pushd node_modules/@lumed

rm -rf notification-module/

cp -r ../../../adminModule/dist/notification-module/ .

popd


rm -r .angular/
