2016-10-05

Meteor - List package nested dependencies

I believe this was authored by someone by the name of Chris Fritz.

meteor list | grep ^[a-z] | tr -s ' ' | cut -d ' ' -f1,2 | tr -d '\*\+' | tr ':' '_' \
 | while read X Y; do \
      cat ~/.meteor/packages/$X/$Y/web.browser.json \
      | xargs -0 node -e "X = JSON.parse(process.argv[1]); \
            X.uses.forEach(function(d) { \
                console.log(\"$X\", \"$Y\", d.package, d.constraint); \
            })"; \
   done | sort


http://stackoverflow.com/questions/39841904/ironrouter-organize-your-meteor-application-coming-up-when-using-kadira-flow

No comments:

Post a Comment