Skip to content

changed devDependencies to dependencies#32

Open
nexus-uw wants to merge 1 commit into
JrSchild:masterfrom
nexus-uw:patch-1
Open

changed devDependencies to dependencies#32
nexus-uw wants to merge 1 commit into
JrSchild:masterfrom
nexus-uw:patch-1

Conversation

@nexus-uw

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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