Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.bowerrc from extra value #25

Open
Punk-UnDeaD opened this issue May 25, 2016 · 3 comments
Open

.bowerrc from extra value #25

Punk-UnDeaD opened this issue May 25, 2016 · 3 comments

Comments

@Punk-UnDeaD
Copy link

if we use composer.json for bower, why .bowerrc not from composer.json?

  "extra": {
    ".bowerrc": {
      "directory": "./libraries",
      "scripts": {
        "postinstall": "rm -rf ./jquery"
      }
    },
@nsams
Copy link
Member

nsams commented May 25, 2016

Why not use composer a script instead?

@Punk-UnDeaD
Copy link
Author

Why not use special composer-extra-assets component?
Read some value and write some value.

@nsams
Copy link
Member

nsams commented May 27, 2016

You can create a .bowerrc file and this plugin won't touch (overwrite) it. With that you can also change the directory or install scripts.

The reason why other values are read from composer.json is that they have to be merged from multiple composer.json

What do you think of that solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants