angular-docs-cn/scripts/examples-install-preview.sh

6 lines
252 B
Bash
Executable File

#!/usr/bin/env bash
set -ex -o pipefail
./scripts/examples-install.sh
(cd public/docs/_examples && npm install angular/{core,common,compiler,platform-browser,platform-browser-dynamic,http,forms,router-deprecated,router,upgrade}-builds --no-optional)