#!/bin/bash -x
exec &> githook.log

npm install

gulp build

cp -rf ./dist/bundle.js /var/www/api-canary/app/static/dist/bundle.js
cp -rf ./dist/bundle.js.map /var/www/api-canary/app/static/dist/bundle.js.map
cp -rf ./dist/styles.min.css /var/www/api-canary/app/static/dist/styles.min.css
#!/bin/bash -x
exec &> githook.log

npm prune
npm install

gulp build

cp -rf ./dist/bundle.js /var/www/api-canary/app/static/dist/bundle.js
cp -rf ./dist/bundle.js.map /var/www/api-canary/app/static/dist/bundle.js.map
cp -rf ./dist/styles.min.css /var/www/api-canary/app/static/dist/styles.min.css
Add NPM prune to build step.
Add NPM prune to build step.
