Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker-Base

Our Docker base image recipe

Finding recursive NPM packages?

Requires jq -- http://stedolan.github.io/jq/download/



echo "" > tmp-packages;
for PROJECT in $(find . -name node_modules -maxdepth 4); do
  for FILE in $(find ${PROJECT} -name package.json); do
    jq '.dependencies' ${FILE} | grep ":" | cut -d ':' -f1 | tr -d '"' | tr -d ' ' >> tmp-packages;
  done;
done;

sort tmp-packages | uniq -c | sort
Docker Pull Command
Owner
tomhastjarjanto
Source Repository

Comments (0)