update package.json for npm, remove unneccessary packages from main file