When downloading angular-json-tree it also downloads angular. It shouldn;t download angular by default. Therefore angular should be defined as a peer dependency. Please look here for an example https://github.com/angular-ui/ui-router/blob/master/package.json#L68