remove compiled files and update package.json