|
|
|
@ -61,6 +61,7 @@ fi
|
|
|
|
|
echo "LICENSES IN BUNDLE:"
|
|
|
|
|
find . -name "package.json" -exec jq .license {} \; >> ${TMP_DIR}/${PACKAGE}-${VERSION}-bundled-licenses.txt
|
|
|
|
|
find . -name "package.json" -exec jq '.licenses[] .type' {} \; >> ${TMP_DIR}/${PACKAGE}-${VERSION}-bundled-licenses.txt 2>/dev/null
|
|
|
|
|
sed -i "/^null$/d" ${TMP_DIR}/${PACKAGE}-${VERSION}-bundled-licenses.txt
|
|
|
|
|
sort -u -o ${TMP_DIR}/${PACKAGE}-${VERSION}-bundled-licenses.txt ${TMP_DIR}/${PACKAGE}-${VERSION}-bundled-licenses.txt
|
|
|
|
|
echo " Downloading dev dependencies"
|
|
|
|
|
npm install --no-optional --only=dev
|
|
|
|
|