1.8.14 • Published 2 years ago

bower v1.8.14

Weekly downloads
353,196
License
MIT
Repository
-
Last release
2 years ago

Bower - A package manager for the web

Backers on Open Collective Sponsors on Open Collective

..psst! While Bower is maintained, we recommend yarn and webpack for new front-end projects!

Unix CI Windows CI Coverage Status Discord chat


Bower offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.

Bower runs over Git, and is package-agnostic. A packaged component can be made up of any type of asset, and use any type of transport (e.g., AMD, CommonJS, etc.).

View complete docs on bower.io

View all packages available through Bower's registry.

Install

$ npm install -g bower

Bower depends on Node.js and npm. Also make sure that git is installed as some bower packages require it to be fetched and installed.

Usage

See complete command line reference at bower.io/docs/api/

Installing packages and dependencies

# install dependencies listed in bower.json
$ bower install

# install a package and add it to bower.json
$ bower install <package> --save

# install specific version of a package and add it to bower.json
$ bower install <package>#<version> --save

Using packages

We discourage using bower components statically for performance and security reasons (if component has an upload.php file that is not ignored, that can be easily exploited to do malicious stuff).

The best approach is to process components installed by bower with build tool (like Grunt or gulp), and serve them concatenated or using a module loader (like RequireJS).

Uninstalling packages

To uninstall a locally installed package:

$ bower uninstall <package-name>

prezto and oh-my-zsh users

On prezto or oh-my-zsh, do not forget to alias bower='noglob bower' or bower install jquery\#1.9.1

Never run Bower with sudo

Bower is a user command; there is no need to execute it with superuser permissions.

Windows users

To use Bower on Windows, you must install Git for Windows correctly. Be sure to check the options shown below:

Note that if you use TortoiseGit and if Bower keeps asking for your SSH password, you should add the following environment variable: GIT_SSH - C:\Program Files\TortoiseGit\bin\TortoisePlink.exe. Adjust the TortoisePlink path if needed.

Ubuntu users

To use Bower on Ubuntu, you might need to link nodejs executable to node:

sudo ln -s /usr/bin/nodejs /usr/bin/node

Configuration

Bower can be configured using JSON in a .bowerrc file. Read over available options at bower.io/docs/config.

Support

Contributing

We welcome contributions of all kinds from anyone. Please take a moment to review the guidelines for contributing.

Note that on Windows for tests to pass you need to configure Git before cloning:

git config --global core.autocrlf input

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

License

Copyright (c) 2012-present Twitter and other contributors

Licensed under the MIT License

llamatorials-bootstraphaabics-gen-browsercheckit-hub-uipraos-briefcasesankey-reportprimus-liveboat-controlautobower@nodecg/bundle-managerdas-buildpeach.cssaxemanangular-rx-uieves-apibowerexarch3ng-nickcropperjs-gifwb-angularbower-deployfront-end-guidespork-cli@infinitebrahmanuniverse/nolb-bowjquery-vui-accordionchrome2use@everything-registry/sub-chunk-1258d3pm2dlinagora.esn.cryptpadlinagora.esn.custom-g2klinagora.esn.dav.importlinagora.esn.emoticonlinagora.esn.emoticon-rezk2lllinagora.esn.external-users-managementlinagora.esn.grouplinagora.esn.hublinlinagora.esn.jameslinagora.esn.linsharelinagora.esn.linshare-first-workgrouplinagora.esn.linshare.safelinagora.esn.matomolinagora.esn.oidclinagora.esn.onlyoffice.orglinagora.esn.resourcelinagora.esn.synclinagora.esn.unifiedinboxlinagora.esn.unifiedinbox.githublinagora.esn.unifiedinbox.jameslinagora.esn.unifiedinbox.linsharelinagora.esn.unifiedinbox.twitterlinagora.esn.videoconferencelinagora.esn.videoconference.calendarlinagora-rselinagora.esn.adminlinagora.esn.chatlinagora.esn.communitylinagora.esn.contact.collectlightlayerkwikrlibgrabberlibrairie-cookie-consentlichtenberghobgoblinhigh-tool-serverhumpbackhybris-utilitiesibannerkankod-themeknockout-toolsknowhow-serverkarma-jasmine-jquerykarma-jasmine-jquery-fixkarma-jasmine-jquery-no-depkarma-sinon-chai-raynodekiwi-jskityminder-core-extendkityminder-core-proknetmapskongadmingrunt-localgov-drupal-projectgrunt-polybrickgrunt-abricosgrunt-drupal-bootstrapgrunt-hull-componentsgrunt-phantomcssgrunt-phantomcss-forkgrunt-phantomcss-lsgrunt-phantomcss-slevomat-forkgrunt-phantomcss-trgrunt-phantomcss-working-versiongrunt-friendlyweb-drupal-projectgulp-amd-buildergulp-bower-depsgulp-bower-taskgulp-bower-versiongulp-bower2gulp-bowergulp-bower-assetsguesser
1.8.14

2 years ago

1.8.13

2 years ago

1.8.12

3 years ago

1.8.11

3 years ago

1.8.10

3 years ago

1.8.9

3 years ago

1.8.8

5 years ago

1.8.7

5 years ago

1.8.6

5 years ago

1.8.5

5 years ago

1.8.4

6 years ago

1.8.3

6 years ago

1.7.10

7 years ago

1.8.2

7 years ago

1.8.1

7 years ago

1.8.0

7 years ago

1.7.9

8 years ago

1.7.8

8 years ago

1.7.7

8 years ago

1.7.6

8 years ago

1.7.5

8 years ago

1.7.4

8 years ago

1.7.3

8 years ago

1.7.2

8 years ago

1.7.1

8 years ago

1.7.0

8 years ago

1.6.9

8 years ago

1.6.8

8 years ago

1.6.7

8 years ago

1.6.6

8 years ago

1.4.2

8 years ago

1.5.4

8 years ago

1.6.5

8 years ago

1.6.4

8 years ago

1.6.3

8 years ago

1.6.2

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.3

9 years ago

1.5.2

9 years ago

1.5.1

9 years ago

1.5.0

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.12

10 years ago

1.3.11

10 years ago

1.3.10

10 years ago

1.3.9

10 years ago

1.3.8

10 years ago

1.3.7

10 years ago

1.3.6

10 years ago

1.3.5

10 years ago

1.3.4

10 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.8

10 years ago

1.2.7

11 years ago

1.2.6

11 years ago

1.2.5

11 years ago

1.2.4

11 years ago

1.2.3

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.2

11 years ago

1.1.1

11 years ago

1.1.0

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.10.0

11 years ago

0.9.2

11 years ago

0.9.1

11 years ago

0.9.0

11 years ago

0.8.6

11 years ago

0.8.5

11 years ago

0.8.4

11 years ago

0.8.3

11 years ago

0.8.2

11 years ago

0.8.1

11 years ago

0.8.0

11 years ago

0.7.1

11 years ago

0.7.0

11 years ago

0.6.8

11 years ago

0.6.7

11 years ago

0.6.6

11 years ago

0.6.5

11 years ago

0.6.4

11 years ago

0.6.3

11 years ago

0.6.2

11 years ago

0.6.1

11 years ago

0.6.0

11 years ago

0.5.1

11 years ago

0.5.0

11 years ago

0.4.0

11 years ago

0.3.2

11 years ago

0.3.1

11 years ago

0.3.0

11 years ago

0.2.0

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.0

12 years ago