Bower Fundamentals Flashcards
What is Bower
A package installer.
From where does Bower download its packages?
GitHub.com (or another git endpoint)
What is the command for installing bower globally?
npm install bower -g
What technologies do we need installed on our system to install bower?
Node.j’s
MSysGit/Git for Windows
Which files can we add to control configuration of bower in our local project?
bower.json
.bowerrc
What configuration options are available for bower from within the .bowerrc file?
directory - the directory where packages will be added.
What is the command for installing a bower package
bower install [package-name]
How do we install a specific version of a package
bower install [package-name]#[version]
How do we get information about what versions of a package are available
bower info [package-name]
How can we make sure that all packages are up to date
bower update
How do we update just one packages
bower install [package-name]
How can we check which packages are installed?
bower list
How can we check what packages are available
bower search [search-term]
What is the bower homepage?
http://bower.io
What is the bower search page?
http://bower.io/search
What is the purpose of the bower.json file?
- Helps to keep track of the packages that have been installed into your project.
- When you are going to publish your own library that can be installed by others.
Which bower.json property tells us the package name?
“name”
Which bower.json property tells us the package version?
“version”