This script will:
-
Expand the
bower.json
file to include all installed dependencies, including indirect ones. -
Configure the
dependencies
field to use exact revision hashes of the currently installed versions. -
Configure the
resolutions
field to the currently installed versions, too.
Requires jq
(available on the Ubuntu repos via apt install jq
).
You can see the effects of running this script here:
cobit-wallet/cobit@3197cf2#diff-0a08a7565aba4405282251491979bb6b