Build distribution code in special folder ready for npm publishing