Description
Given that npm is now recommended for jquery plugins, it makes sense that jquery-migrate be published to npm to support the myriad of outdated plugins out there.
Ideally a main
field is added to the package.json here and a prepublish
step runs the usual build process. A .npmignore
file could optionally be used to avoid publishing the sources and tests to the registry.
I'd love to submit a PR for the second half -- let me know if you're open. Of course publishing would be up to the jquery project 😄
Edit: Just realize that jquery-migrate
will break as-is with most commonjs bundlers and the default export in jquery (which doesn't leak $
or jQuery
to the window). A UMD-style wrapper similar to what jquery uses would probably be best. Likewise, I'd love to submit a pr for this too.