diff --git a/modules/@angular/benchpress/package.json b/modules/@angular/benchpress/package.json index c5c46e6600..3dda814d10 100644 --- a/modules/@angular/benchpress/package.json +++ b/modules/@angular/benchpress/package.json @@ -1,15 +1,13 @@ { "name": "@angular/benchpress", - "version": "0.0.0-PLACEHOLDER", + "version": "0.1.0", "description": "Benchpress - a framework for e2e performance tests", "main": "index.js", "typings": "index.d.ts", "dependencies": { - "@angular/core": "0.0.0-PLACEHOLDER", + "@angular/core": "^2.0.0-rc.7", "reflect-metadata": "^0.1.2", - "rxjs": "5.0.0-beta.12" - }, - "optionalDependencies": { + "rxjs": "5.0.0-beta.12", "jpm": "1.1.4", "firefox-profile": "0.4.0", "selenium-webdriver": "^2.53.3" diff --git a/modules/@angular/benchpress/publish.sh b/modules/@angular/benchpress/publish.sh new file mode 100755 index 0000000000..be33c0034f --- /dev/null +++ b/modules/@angular/benchpress/publish.sh @@ -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