Wednesday, March 16, 2016

Add a .git repo to your bower.json as a component / dependency

Example, add picoFeed github repo to our project:

"dependencies": {
  "eonasdan-bootstrap-datetimepicker": "^4.17.37",
  "rsvp.js": "rsvp#^3.1.0",
  "gulp": "^3.9.1",
  "slick-carousel": "slick.js#^1.5.9",


Install using simple :

bower install picoFeedRepo 


One thing to note:

Server side packages are usually delivered via composer, and bower is mostly used for client-side code (i.e.JS libraries)

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...