anki/ts/update-licenses.sh

9 lines
224 B
Bash
Executable File

#!/bin/bash
# Dump runtime licenses to licenses.json
set -e
./node_modules/.bin/license-checker-rseidelsohn --production --json \
--excludePackages anki --relativeLicensePath \
--relativeModulePath > licenses.json