]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/client-report.sh
Update credits
[github/Chocobozzz/PeerTube.git] / scripts / client-report.sh
CommitLineData
0e4ffb4b 1#!/bin/sh
24a8e782 2
0e4ffb4b
LA
3set -eu
4
6cca7360 5gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/embed-stats.json
24a8e782 6
6cca7360 7npm run concurrently -- -k \
3f9c4955 8 "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats-es2015.json" \
711260bb 9 "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/embed-stats.json"