#!/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 -r apss-module/

cp -r ../../../ApssModule/dist/apss-module/ .

popd


rm -r .angular/
