2017 © Pedro Peláez
 

library bower-config-mergetool

Bower config mergetool

image

filipgolonka/bower-config-mergetool

Bower config mergetool

  • Thursday, April 16, 2015
  • by filipgolonka
  • Repository
  • 1 Watchers
  • 0 Stars
  • 311 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bower config mergetool

This tool helps developer to use one bower.json file, instead of multiple ones., (*1)

Consider following situation. Your project has custom bower.json file. You install some dependencies using composer. Each of them has his own bower.json file. How to manage it?, (*2)

This tool can crawl vendor directory. It reads each of bower.json file and merge dependencies into main bower.json file., (*3)

To use this tool, install bower-config-mergetool:, (*4)

composer require filipgolonka/bower-config-mergetool:dev-master

and just add following lines to your composer.json file:, (*5)

  "scripts": {
    "post-install-cmd": [
      "STP\\Bower\\ConfigMergeTool::mergeConfig",
      "npm install"
    ],
    "post-update-cmd": [
      "STP\\Bower\\ConfigMergeTool::mergeConfig",
      "npm install"
    ]
  }

The Versions

16/04 2015

dev-master

9999999-dev

Bower config mergetool

  Sources   Download

MIT

by Filip Golonka