anki/ts/update.sh

10 lines
284 B
Bash
Raw Normal View History

2020-11-12 10:54:13 +01:00
#!/bin/bash
# Update JS dependencies and dump runtime licenses to licenses.json
set -e
bazel run @nodejs//:yarn upgrade
2020-11-12 12:07:59 +01:00
./node_modules/.bin/license-checker-rseidelsohn --production --json \
--excludePackages anki --relativeLicensePath \
--relativeModulePath > licenses.json