Answer: 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": [
"node"
],
"homepage": "",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"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