Change find+flatten to where, and add repo url to package json.