#!/bin/bash

npm install -g gulp

npm install -g yarn

yarn add chai gulp gulp-concat gulp-eslint gulp-mocha gulp-order gulp-util gulp-vinyl-zip

yarn add karma karma-chai karma-coverage karma-mocha karma-phantomjs-launcher sinon

yarn add aws-sdk bluebird crypto-js google-auth-library moment prompt

yarn add amazon-cognito-js angular angular-animate angular-aria angular-material angular-messages angular-mocks angular-route angular-sanitize angular-touch

base="$PWD/node_modules/@incdevco/framework";

mkdir -p clients/www

cp -R "$base/angular/examples/www" clients

mkdir -p lambda/custom-cf-resource

cp -R "$base/lambda/custom-cf-resource" lambda

mkdir -p stacks/main

cp -R "$base/stacks/main" stacks

cp "$base/gulp/base-gulpfile.js" gulpfile.js

cp "$base/karma/base-karma.conf.js" karma.conf.js
