angular-docs-cn/scripts/release/pre-check

12 lines
269 B
Plaintext
Raw Normal View History

#!/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
2018-03-30 17:51:35 -04:00
npm install --save ../dist/packages-dist/* typescript@~2.7 rxjs@^6.0.0-beta.4 zone.js@~0.8.20
cd ..
rm -rf ./tmp