canonical-web-and-design / juju-cards

Code base for for juju embedded card system for charm, bundle and profiles.
6 stars 10 forks source link

use prepublishOnly instead of prepublish in package.json #30

Closed hatched closed 2 years ago

hatched commented 7 years ago

It's not necessary to install dependencies globally for regular development so running .install_dependencies.sh in the prepublish hook is not required. I'm actually not sure it's required at all, even for publishing so maybe the whole file can be removed and instead point to the npm installed binaries.

https://docs.npmjs.com/misc/scripts