What is the purpose of bower.json ?

 Posted by Rajnilari2015 on 3/7/2016 | Category: Node.js Interview questions | Views: 2695 | Points: 40

It is the manifest file for bower packages.Bower is a package manager which manage components that comprises of HTML, CSS, JavaScript frameworks and libraries, utilities, fonts, image files etc. It helps to maintain the right versions of the packages we need and their dependencies. e.g.


"name": "EmployeeCRUDUsingMERN",
"description": "Example of Bower.json",
"main": "index.js",
"authors": [
"RNA Team"
"license": "ISC",
"moduleType": [
"homepage": "",
"ignore": [
"dependencies": {
"bootstrap-css": "~3.3.4",
"jquery": "~2.1.1"

The example shows that, there is a dependency on bootstrap and jquery library.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response