anki/ts/update.sh
2020-11-12 21:07:59 +10:00

10 lines
284 B
Bash
Executable File

#!/bin/bash
# Update JS dependencies and dump runtime licenses to licenses.json
set -e
bazel run @nodejs//:yarn upgrade
./node_modules/.bin/license-checker-rseidelsohn --production --json \
--excludePackages anki --relativeLicensePath \
--relativeModulePath > licenses.json