Use Leaflet's prepublish script (fixes #272)