tidying up for npm publish