chore(benchpress): update package.json and add publish script

This commit is contained in:
Tobias Bosch
2016-09-13 09:49:48 -07:00
committed by Evan Martin
parent f8690caa98
commit a2bf334e6e
2 changed files with 19 additions and 5 deletions

View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -ex
cd $(dirname $0)/../../..
ROOTDIR=$(pwd)
SRCDIR=${ROOTDIR}/modules/@angular/benchpress
DESTDIR=${ROOTDIR}/dist/packages-dist/benchpress
rm -fr ${DESTDIR}
echo "====== BUILDING... ====="
./build.sh --packages=core,benchpress --bundle=false
echo "====== PUBLISHING: ${DESTDIR} ====="
npm publish ${DESTDIR} --access public