This script will:
-
Expand the
bower.jsonfile to include all installed dependencies, including indirect ones. -
Configure the
dependenciesfield to use exact revision hashes of the currently installed versions. -
Configure the
resolutionsfield 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