30. BOWER INFO
Function
Info of a particular package
Usage
bower info <package>
bower info bootstrap
bower info <package>#<version>
bower info jquery#1.0.1
37. BOWER HOME
Function
Opens a package homepage into your favorite browser
Usage
bower home <package>
bower home jquery
38. BOWER VERSION
Function
Bump a package version
Usage
bower version <version>
bower version v1.0.0
bower patch
bower minor
bower major
49. BOWER.JSON
Name Type Required Description
name String true The name of the package
as stored in the registry
description String false The description of the
package as stored in the
registry
version String false Use git or svn tags instead.
This field is ignored by
Bower
main String
String[]
false The entry-point files
necessary to use your
package.
moduleType String
String[]
false The type of module defined
in the main JavaScript file
50. BOWER.JSON
Name Type Required Description
license String
String[]
false SPDX license identifier or
path/url to a license
ignore String[] false A list of files for Bower to
ignore when installing your
package
keywords String[] false Used for search by keyword
authors String[]
Object[]
false A list of people that authored
the contents of the package
homepage String false URL to learn more about the
package
repository Object false The repository in which the
source code can be found
51. BOWER.JSON
Name Type Required Description
dependencies Object false Dependencies are specified
with a simple hash of
package name to a semver
compatible identifier or URL
devDependenc
ies
Object false Dependencies that are only
needed for development of
the package
resolutions Object false Dependency versions to
automatically resolve with if
conflicts occur between
packages
private Boolean false If set to true, Bower will
refuse to publish it.
55. .BOWERRC
Name Type Description
analytics Boolean Does Bower can collect anonymous
usage statistics?
cwd String Current working directory
directory String The path in which installed
components should be saved
registry Object
String
The registry config
shorthand-resolver String Define a custom template for
shorthand package names
proxy String The proxy to use for http requests
https-proxy String The proxy to use for https requests
user-agent String Sets the User-Agent for each
request made
56. .BOWERRC
Name Type Description
timeout Number The timeout to be used when
making requests in milliseconds,
defaults to 60000 ms.
strict-ssl Boolean Whether or not to do SSL key
validation when making requests via
https
ca Object
String
The CA certificates to be used
color Boolean Enable or disable use of colors in
the CLI output. Defaults to true.
storage Object Where to store persistent data, such
as cache, needed by bower.
tmp String Where to store temporary files and
folders.
57. .BOWERRC
Name Type Description
interactive Boolean Makes bower interactive, prompting
whenever necessary. Defaults
to null which means auto.
resolvers Array List of Pluggable Resolvers to use
for locating and fetching packages
shallowCloneHosts Array Bower's default behavior is to not
use shallow cloning
59. LAB1
Search jQuery package
Look up jQuery package's info
List bower's cache
Look up jQuery package's info which version is
2.1.4
Clear bower's cache
List bower's cache
Install jQuery with version 2.1.4
List package
List bower's cache
60. LAB2
Install Bootstrap
List package
Uninstall jQuery
List package
Update package
List package
61. LAB3
Init bower.json
Install d3 with version 1.0.0 and let it save to
bower.json
List package
Open bower.json and change d3's version to 3.5.12
Update package
List package
62. LAB4
Init bower.json
Open bower.json and add jQueryUI package with
version 1.11.4
Open bower.json and add AngularJS package with
version 1.4.8
Install package from bower.json
List package