Open shawnlonas opened 8 years ago
I think the steps to implement it will be like this:
.bowerrc
file exists.scripts
property or use the exists one.preinstall
and preuninstall
add bower-locker unlock
command.postinstall
and postuninstall
add bower-locker lock
command.
From : https://github.com/infusionsoft/bower-locker/issues/5#issuecomment-259480191
What we need also that is after locking the file to write pre install script to be executed before installing new packages, so that it'll automate the process of:
unlock bower file. continue the installation of the new package. lock the bower file again.