You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If napa detects that the downloaded files don't contain a package.json, it currently creates one. I would add that it should be smart about the main attribute.
If there is a file on the root with the same name of the package, use that as main. For example, if I specify that I want to use jquery-validation-unobtrusive, and that the name I want to use for it is jquery.validate.unobtrusive, it should set the main to jquery.validate.unobtrusive.js, which is a file of the same name that is located on the root.
Maybe also check /lib and /bin.
This is somewhat connected to what was proposed on #18, but it would offer a convention, so I don't always need to configure.
The text was updated successfully, but these errors were encountered:
If napa detects that the downloaded files don't contain a package.json, it currently creates one. I would add that it should be smart about the
main
attribute.If there is a file on the root with the same name of the package, use that as main. For example, if I specify that I want to use jquery-validation-unobtrusive, and that the name I want to use for it is
jquery.validate.unobtrusive
, it should set the main tojquery.validate.unobtrusive.js
, which is a file of the same name that is located on the root.Maybe also check
/lib
and/bin
.This is somewhat connected to what was proposed on #18, but it would offer a convention, so I don't always need to configure.
The text was updated successfully, but these errors were encountered: