mpen
mpen

Reputation: 282865

How to get list of installed first-level bower packages w/out checking for newer versions?

bower list lists all my installed packages, but also lists sub-dependencies and checks for newer versions.

I don't want to see sub-deps, and I don't want to check for newer versions (I want this to run super fast, no waiting on the network!).

How can I do this?

Upvotes: 3

Views: 2939

Answers (1)

mpen
mpen

Reputation: 282865

There's a global --offline option that's not listed under bower list --help. So, just run:

bower list --offline

You can try parsing the results of

bower list --offline --json

to filter out the sub-deps if you like.

Upvotes: 8

Related Questions