add dependencies object to _bower.json and _package.json