I am a bit confused about using Npm, Bower and Grunt. My goal is to install front-end packages (for example: bootstrap) for my front-end project and configure Grunt to automate build tasks.
I have used Npm in the past, and I understand that it works with the package.json file, and Bower works with the bower.json file. In this case, I installed Grunt with Bower (not Npm), however I realized that to start Grunt I still need to add the package.json file.
- Should I use Bower to install Grunt in the first place?
- Does my project always need a package.json file to use Grunt? And also if so, is there any good practice to eliminate duplication between bower.json and package.json files. (name, application version, etc.)
thank
source
share