This repository has been archived by the owner. It is now read-only.

add package.json to search path for packages that do not use bower.json #484

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@shioyama

shioyama commented Oct 11, 2013

A lot of packages use package.json instead of bower.json, but AFAICT the basic setup is the same, with the main file indicated under main.

Maybe I'm missing something but it would seem useful to add package.json to the search path as I have here, to handle that case.

@josh

This comment has been minimized.

Show comment
Hide comment
@josh

josh Oct 11, 2013

Contributor

Sorry, package.json is conflated with node.js which is why other package managers such as bower (which did originally use it) moved away.

👎

Contributor

josh commented Oct 11, 2013

Sorry, package.json is conflated with node.js which is why other package managers such as bower (which did originally use it) moved away.

👎

@shioyama

This comment has been minimized.

Show comment
Hide comment
@shioyama

shioyama Oct 11, 2013

I figured that was the reason, but is there a concrete scenario where this would cause problems? The only alternative I can see is to track down the maintainers of every package and get them to add a bower.json file.

shioyama commented Oct 11, 2013

I figured that was the reason, but is there a concrete scenario where this would cause problems? The only alternative I can see is to track down the maintainers of every package and get them to add a bower.json file.

@josh josh closed this Feb 9, 2014

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.