cleaning up the pkg for npm