angular-cn/scripts/release/pre-check

12 lines
266 B
Bash
Executable File

#!/usr/bin/env bash
# Verify peer deps constraints and package.json before publishing to npm
# There should be no npm errors
mkdir tmp
cd tmp
npm init -y
npm install --save ../dist/packages-dist/* zone.js@0.8.10 rxjs@6.0.0-beta.1 typescript@2.7
cd ..
rm -rf ./tmp