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

changed devDependencies to dependencies #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nexus-uw
Copy link

this allows me (and hopefully others as well) to use this plugin in conjunction with main-bower-files without having to mannually override the dependencies of this component to ensure that everything is properly pulled into the build.

Currently, I have to include the following to make my build work

{
  ...
  "overrides": {
    "jr-crop" : {
      "dependencies":{
        "ionic" : "*",
        "blueimp-canvas-to-blob":"*"
      }
    }
}

this allows me (and hopefully others as well) to use this plugin in conjunction with [main-bower-files](https://github.com/ck86/main-bower-files) without having to mannually override the dependencies of this component to ensure that everything is properly pulled into the build.

Currently, I have to include the following to make my build work
```json
{
  ...
  "overrides": {
    "jr-crop" : {
      "dependencies":{
        "ionic" : "*"
      }
    }
}
```
@JrSchild
Copy link
Owner

If I have it right, main-bower-files pulls all dependencies from the bower.json files, but not the devDependencies? Blueimp and ionic are only used for the examples, therefore they are in devDependencies. You should be able to include them, and your preferred version number yourself in your own bower.json.

@nexus-uw
Copy link
Author

The one other thing that main-bower-files does is ensure that dependencies of the component are loaded/listed before component itself.

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

Successfully merging this pull request may close these issues.

2 participants