mirror of
https://github.com/koush/scrypted.git
synced 2026-03-01 16:52:56 +00:00
34 lines
520 B
Bash
Executable File
34 lines
520 B
Bash
Executable File
echo ######################################
|
|
echo "npm ciing in popular plugins..."
|
|
echo ######################################
|
|
|
|
cd $(dirname $0)
|
|
|
|
git submodule init
|
|
git submodule update
|
|
|
|
for base in sdk common server
|
|
do
|
|
echo $base
|
|
pushd $base
|
|
npm ci
|
|
popd
|
|
done
|
|
|
|
pushd external/HAP-NodeJS
|
|
npm ci
|
|
npm run build
|
|
popd
|
|
|
|
pushd external/werift
|
|
npm install
|
|
popd
|
|
|
|
for plugin in ffmpeg-camera rtsp amcrest onvif hikvision unifi-protect homekit
|
|
do
|
|
echo $plugin
|
|
pushd plugins/$plugin
|
|
npm ci
|
|
popd
|
|
done
|