I have build something like a base template/workflow for creating websites, mostly using Grunt.
Part of that template is the Modernizr feature detection library, one of my Grunt tasks depends on.
At the moment I just have stored that dependency in my bower.json
manifest. That brings two problems to the table:
- I need to update the project's name, version, author etc. in both my
bower.json
andpackage.json
(for Grunt). - I don't like the fact that my dependencies are spreaded out like this – I would need to run
npm install
andbower install ...
before I can start to work. (Not that its a great effort, but to me thats really counter intuitive.)
Is there a smarter, more general way to handle such dependencies?
I already took a look into using component.json
files which can be read by various package managers (I looked a DUO in particular), but I am not sure if thats what I actually need. There seems to be a build process included, but I already build through Grunt.